xinhaoyuna_1.asv

来自「给出了数字信号处理课程设计的基本程序」· ASV 代码 · 共 19 行

ASV
19
字号
clear all
figure();
y1=zhengxian(1,28,32);subplot(4,2,1);stem(y1,'.');title('F=28');
             subplot(4,2,2);stem(abs(FFT(y1,32)),'.');%正弦信号
y1=zhengxian(1,30,32);subplot(4,2,3);stem(y1,'.');title('F=30');
             subplot(4,2,4);stem(abs(FFT(y1,32)),'.');%正弦信号
y1=zhengxian(1,32,32);subplot(4,2,5);stem(y1,'.');title('F=32');
             subplot(4,2,6);stem(abs(FFT(y1,32)),'.');%正弦信号            
y1=zhengxian(1,33,32);subplot(4,2,7);stem(y1,'.');title('F=33');
             subplot(4,2,8);stem(abs(FFT(y1,32)),'.');%正弦信号
             figure();
y1=zhengxian(1,34,32);subplot(4,2,1);stem(y1,'.');title('F=34');
             subplot(4,2,2);stem(abs(FFT(y1,32)),'.');%正弦信号
y1=zhengxian(1,35,32);subplot(4,2,3);stem(y1,'.');title('F=6.4');
             subplot(4,2,4);stem(abs(FFT(y1,32)),'.');%正弦信号
y1=zhengxian(1,1.6,32);subplot(4,2,5);stem(y1,'.');title('F=1.6');
             subplot(4,2,6);stem(abs(FFT(y1,32)),'.');%正弦信号            
y1=zhengxian(1,21,32);subplot(4,2,7);stem(y1,'.');title('F=21');
             subplot(4,2,8);stem(abs(FFT(y1,32)),'.');%正弦信号

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?