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

📄 xdxc.m

📁 十几个数字信号处理实验课的程序
💻 M
字号:

for i=1:4 
    xc(i)=i;
end
for i=5:8
    xc(i)=9-i;
end

for i=1:4 
    xd(i)=5-i;
end
for i=5:8
    xd(i)=i-4;
end
figure
subplot(2,1,1);stem(abs(fft(xc,16)));title('16点的fft[xc]');
subplot(2,1,2);stem(abs(fft(xd,16)));title('16点的fft[xd]');
figure
subplot(2,1,1);stem(angle(fft(xc,16)));title('16点的fft[xc]的相位谱');
subplot(2,1,2);stem(angle(fft(xd,16)));title('16点的fft[xd]的相位谱');

⌨️ 快捷键说明

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