|
t=0:0.1:12:num=[1];2 R1 N: i& q( }+ M* _. }/ o
Zeta1=0:den1=[1 2*Zeta1 1];
2 I0 ^( z/ |) v: V7 h' s6 RZeta2=0.3:den2=[1 2*Zeta2 1];
( i4 X5 U p) @ g: WZeta3=0.5:den3=[1 2*Zeta3 1];6 e* w2 U1 p, O% {4 Y4 @
Zeta4=0.7:den4=[1 2*Zeta4 1];3 J# a( x& }# G, L _6 f
Zeta5=1:den5=[1 2*Zeta5 1];
, c( ~# a! ?7 r) Z2 F+ n[y1,x,t]=step(num,den1,t);
) K7 ~9 L% A" }6 E[y2,x,t]=step(num,den2,t);7 W- P) C2 k& Z, w4 B
[y3,x,t]=step(num,den3,t);8 s7 W! G. U+ G0 [) l3 t& P! Q
[y4,x,t]=step(num,den4,t);5 ~6 H# \* z$ i9 T( G4 U; Z' Z
[y5,x,t]=step(num,den5,t);; e. U5 I; v% z8 K5 [6 A4 |
plot(t,y1,t,y2,t,y3,t,y4,t,y5);2 v( R( z& d; l- H/ d; }- H" u
grid on; |
|