
initial
11-99
To plot the initial condition responses of several LTI models on a single figure,
use
initial(sys1,sys2,...,sysN,x0)
initial(sys1,sys2,...,sysN,x0,t)
(see impulse for details).
Wheninvokedwithlefthandarguments,
[y,t,x] = initial(sys,x0)
[y,t,x] = initial(sys,x0,t)
return the output response y, the time vector t used for simulation, and the
state trajectories
x. No plot is drawn on the screen. The array y hasasmany
rows as time samples (length of
t) and as many columns as outputs. Similarly,
x has length(t) rows and as many columns as states.
Example Plottheresponseofthestate-spacemodel
x
·
1
x
·
2
0.5572– 0.7814–
0.7814 0
x
1
x
2
=
y
1.9691 6.4493
x
1
x
2
=
Commenti su questo manuale