📄 ex0429.m
字号:
b = [1 0 -1]; a = [1 0 -0.81];
[R,p,C] = residuez(b,a)
w=[0:500]*pi/500;
H=freqz(b,a,w);
magH=abs(H);phaH=angle(H);
subplot(211);plot(w/pi,magH);grid
xlabel('frequency in pi units');ylabel('Magnitude');
title('Magnitude Response')
subplot(212);plot(w/pi,phaH/pi);grid
xlabel('frequency in pi units');ylabel('Phase in pi units');
title('Phase Response')
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -