zplot.m
来自「里面囊括了基于matlab滤波器设计的各种.m文件」· M 代码 · 共 22 行
M
22 行
% plot the input data with respect to data index
function zplot(zin,ndz)
subplot(4,1,1);plot(zin(1:ndz),'o');
title(' The input signal');
hold on
zpinput=spectrum(zin,128);
subplot(4,1,2);specplot(zpinput);%title(' The pds of input signal');
xlabel(' F')
hold on
zfft=fft(zin,256);
zafft=abs(zfft);
subplot(4,1,3);plot(zafft);
title(' The am-FFT of input signal');
hold on
zpfft=angle(zfft);
subplot(4,1,4);plot(zpfft);
title(' The phase-FFT of input signal');
hold off
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?