Anda di halaman 1dari 3

THT

PENGOLAHAN SINYAL DIGITAL


OLEH

Wahyu Redha Putra M.Hadi Sucipta

1010952023 1010952048

Dosen : Mumuh Muharram,M.T.

JURUSAN TEKNIK ELEKTRO FAKULTAS TEKNIK UNIVERSITAS ANDALAS PADANG 2013

1. List Program MATLAB


FS=12; fs=100; % sinyal analog t=0:1/fs:1; xt = 3*cos(2*pi*1*t)+ 5*sin(2*pi*3*t)+ 10*cos(2*pi*6*t); %sinyal digital n=0:10; xn = 3*cos(2*pi*1/FS*n)+ 5*sin(2*pi*3/FS*n)+ 10*cos(2*pi*6/FS*n); %Penggambaran subplot(2,1,1) plot(t,xt,'r'); title('SINYAL INFORMASI ') xlabel('Mili detik') ylabel('Level Amplitudo') subplot(2,1,2) stem(n,xn,'r') title('SINYAL TERSAMPLING 1') xlabel('Data Sampling Waktu (n)') ylabel('Level Amplitudo')
SINYAL INFORMASI 20
Level Amplitudo

10 0 -10 -20

0.1

0.2

0.3

0.5 0.6 0.7 Mili detik SINYAL TERSAMPLING 1

0.4

0.8

0.9

20
Level Amplitudo

10 0 -10 -20

4 5 6 7 Data Sampling Waktu (n)

10

2. List program MATLAB FS = 10; fs=100; % sinyal analog t=0:1/fs:1; xt = 3*cos(2*pi*0.3*t)+ 2*sin(2*pi*0.9*t); %sinyal digital n=0:10; xn = 3*cos(2*pi*0.3/10*n)+ 2*sin(2*pi*0.9/10*n); %Penggambaran subplot(2,1,1) plot(t,xt,'r'); title('SINYAL INFORMASI ') xlabel('Mili detik') ylabel('Level Amplitudo') subplot(2,1,2) stem(n,xn,'r') title('SINYAL TERSAMPLING 1') xlabel('Data Sampling Waktu (n)') ylabel('Level Amplitudo')

SINYAL INFORMASI 5
Level Amplitudo

-5

0.1

0.2

0.3

0.5 0.6 0.7 Mili detik SINYAL TERSAMPLING 1

0.4

0.8

0.9

5
Level Amplitudo

-5

4 5 6 7 Data Sampling Waktu (n)

10

Anda mungkin juga menyukai