|
t=0:0.1:12:num=[1];
+ R* F F' D1 U/ _' LZeta1=0:den1=[1 2*Zeta1 1];% e, @9 C' f( j6 l6 N& X' X [
Zeta2=0.3:den2=[1 2*Zeta2 1];
) `9 z4 o. _$ V' e PZeta3=0.5:den3=[1 2*Zeta3 1];. ^- u0 l$ I! w+ M
Zeta4=0.7:den4=[1 2*Zeta4 1];$ T) s O- Q8 U1 @, g( @" T0 Y
Zeta5=1:den5=[1 2*Zeta5 1];
! D0 s9 f N9 o6 X[y1,x,t]=step(num,den1,t);8 p3 u0 {2 N8 G# {" d6 G
[y2,x,t]=step(num,den2,t);$ Q% _' U; @+ c' f
[y3,x,t]=step(num,den3,t);! r2 Q* s7 C2 h) E* U' ?" ~5 V
[y4,x,t]=step(num,den4,t);; q! z0 o$ E( X
[y5,x,t]=step(num,den5,t);
W! l, W! c8 w. N! [) Yplot(t,y1,t,y2,t,y3,t,y4,t,y5);
( h# D2 G! R* S6 \9 V2 a+ sgrid on; |
|