ex041101.m
来自「stft(含:短时傅立叶变换 Gabor变换等)」· M 代码 · 共 11 行
M
11 行
b = [1,0]; a = [1, -0.9];
[H,w]=freqz(b,a,100);
magH=abs(H);phaH=angle(H);
subplot(2,1,1);
plot(w/pi,magH);grid;
xlabel('frequency in units of pi'); ylabel('|H|')
title('Magnitude Part')
subplot(2,1,2); plot(w/pi,phaH)/pi;grid
%axis([-2,2,-1,1])
xlabel('frequency in units of pi'); ylabel('radians/pi')
title('Angle Part')
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?