共四个二阶网络的系统函数,画系统零极点分布图,求各系统单位脉冲响应,画波形
H1
clc;
clear all;
close all;
A=[1,-1.6,0.9425];
B=[1,0,0];
figure
zplane(B,A);
z=roots(B) %zero-point
p=roots(A) %polar-point
pm=abs(p);
if max(pm)<1
disp('system is stable and causal'),
else
disp('system is not stable and causal'),
end
[h1n,n]=impz(B,A,100);
figure
stem(n,h1n,'.');
line([0,100],[0,0])
xlabel('n');
ylabel('h1n');