📄 xcxd.asv
字号:
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(4,1,1);stem(xc);title('xc的序列');
subplot(4,1,2);stem(xd);title('xd的序列');
subplot(4,1,3);stem(abs(fft(xc,8)));title('8点的FFT[xc]');
subplot(4,1,4);stem(abs(fft(xd,8)));title('8点的FFT[xd]');
figure
subplot(2,1,1);stem(abs(fft(xc,8)));title('8点的FFT[xc]');
subplot(2,1,2);stem(abs(fft(xd,8)));title('8点的FFT[xd]');
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -