m(n,abs(X1)); >>x2=0.15*sin(2*pi*(1/6)*n)+sin(4*pi*(1/6)*n)-0.1*sin(6*pi*(1/6)*n); >>X2=fft(x2,40); >>subplot(312) >>stem(n,abs(X2)); >>x3=0.15*sin(2*pi*0.1*n)+sin(4*pi*0.1*n)-0.1*sin(6*pi*0.1*n); >>X3=fft(x3,40); 数字信号处理学号: 1120101377 姓名:颜家英班级: 05611002 专业:信息对抗技术 9 >>subplot(313) >>stem(n,abs(X3)); 实验结果分析: 减小采样周期,可以使频谱分辨率提高。第四题实验代码 n=0:100; x=exp(-0.1*n); X1=fft(x); k=0:100; stem(k,abs(X1)); xlabel('k'); 实验结果实验代码 n=0:2:100; x=exp(-0.1*n); X2=fft(x); k=0:50; stem(k,abs(X2)); xlabel('k'); 实验结果数字信号处理学号: 1120101377 姓名:颜家英班级: 05611002 专业:信息对抗技术 10 实验代码>>n=0:50; x=exp(-0.1*n); X3=fft(x); k=0:50; stem(k,abs(X3)); xlabel('k'); 实验结果实验代码>>n=0:2:50; x=exp(-0.1*n); X4=fft(x); k=0:25; stem(k,abs(X4)); xlabel('k' ); 实验结果实验代码>>n=0:150; x=exp(-0.1*n); X5=fft(x); k=0:150; stem(k,abs(X5)); xlabel('k'); 实验结果