Specifications

Table Of Contents
initial
16-100
initial(sys1,sys2,...,sysN,x0)
initial(sys1,sys2,...,sysN,x0,t)
(see impulse for details).
When invoked with lefthand arguments,
[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 Plot the response of the state-space model
to the initial condition
a = [-0.5572 -0.7814;0.7814 0];
c = [1.9691 6.4493];
x0 = [1 ; 0]
sys = ss(a,[],c,[]);
x
·
1
x
·
2
0.5572 0.7814
0.7814 0
x
1
x
2
=
y
1.9691 6.4493
x
1
x
2
=
x 0
()
1
0
=