?? xdxc.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 + -