⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 xinhaoyuna_1.m

📁 给出了数字信号处理课程设计的基本程序
💻 M
字号:
clear all
figure();
y1=zhengxian(1,28.1,32);subplot(4,2,1);stem(y1,'.');title('F=28.1');
             subplot(4,2,2);stem(abs(FFT(y1,32)),'.');%正弦信号
y1=zhengxian(1,30.3,32);subplot(4,2,3);stem(y1,'.');title('F=30.3');
             subplot(4,2,4);stem(abs(FFT(y1,32)),'.');%正弦信号
y1=zhengxian(1,32.5,32);subplot(4,2,5);stem(y1,'.');title('F=32.5');
             subplot(4,2,6);stem(abs(FFT(y1,32)),'.');%正弦信号            
y1=zhengxian(1,32,32);subplot(4,2,7);stem(y1,'.');title('F=32');
             subplot(4,2,8);stem(abs(FFT(y1,32)),'.');%正弦信号
             figure();
y1=zhengxian(1,33,32);subplot(4,2,1);stem(y1,'.');title('F=33');
             subplot(4,2,2);stem(abs(FFT(y1,32)),'.');%正弦信号
y1=zhengxian(1,35.5,32);subplot(4,2,3);stem(y1,'.');title('F=35.5');
             subplot(4,2,4);stem(abs(FFT(y1,32)),'.');%正弦信号
y1=zhengxian(1,64,32);subplot(4,2,5);stem(y1,'.');title('F=64');
             subplot(4,2,6);stem(abs(FFT(y1,32)),'.');%正弦信号            
y1=zhengxian(1,128,32);subplot(4,2,7);stem(y1,'.');title('F=128');
             subplot(4,2,8);stem(abs(FFT(y1,32)),'.');%正弦信号

⌨️ 快捷键说明

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