List Program MATLAB
List Program MATLAB
1010952023 1010952048
10 0 -10 -20
0.1
0.2
0.3
0.4
0.8
0.9
20
Level Amplitudo
10 0 -10 -20
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.4
0.8
0.9
5
Level Amplitudo
-5
10