📄 example7_4.m
字号:
%例7-4程序,example7_4
b=[15,-14,3,-2,1];a=[11,2,3,-4,-5];
[b0,B,A]=dir2cas(b,a);
[C,B1,A1]=dir2par(b,a);
N=24;n=1:N+1;
delta=impseq(0,0,N);
h1=filter(b,a,delta);
h2=casfiltr(b0,B,A,delta);
h3=parfiltr(C,B1,A1,delta);
figure(1)
subplot(3,1,1)
plot(n,h1)
title('直接型')
subplot(3,1,2)
plot(n,h2)
title('级联型')
subplot(3,1,3)
plot(n,h3)
title('并联型')
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -