b=[1,2];
a=[1,4,3];
subplot(5,1,1);
zplane(b,a);
legend('零点','极点');
t=-0:0.02:10;
h=impulse(b,a,t)
subplot(5,1,3);
plot(t,h);
title('Inpulse Response');
[H,w]=freqs(b,a);
subplot(5,1,5);
plot(w,abs(H));
xlabel('\omega');
title('Magnitude Response');
评论0