Professional Documents
Culture Documents
JK
JK
JK
amp=10;
T=40;
w=(2*pi)/T;
ta=2;
f=2*amp*(ta/2)*sinc(n*w*(ta/2));
subplot(2,2,1)
stem(n,f);
hold on;
grid on
plot(n,f,'r')
n=[-20:20]
amp=10;
T=30;
w=(2*pi)/T;
ta=3;
f=2*amp*(ta/2)*sinc(n*w*(ta/2));
subplot(2,2,2)
stem(n,f);
hold on;
grid on
plot(n,f,'r')
n=[-20:20]
amp=10;
T=10;
w=(2*pi)/T;
ta=4;
f=2*amp*(ta/2)*sinc(n*w*(ta/2));
subplot(2,2,3)
stem(n,f);
hold on;
grid on
plot(n,f,'r')
n=[-20:20]
amp=10;
T=5;
w=(2*pi)/T;
ta=5;
f=2*amp*(ta/2)*sinc(n*w*(ta/2));
subplot(2,2,4)
stem(n,f);
hold on;
grid on
plot(n,f,'r')