📄 xinhaoyuna_1.asv
字号:
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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -