lsim Simulate time response of dynamic systems to arbitrary inputs.' g2 v% l+ {, O' t
% k9 Z4 o+ H7 l) b# y( c% d7 a3 l[Y,T,X] = lsim(SYS,U,T,X0)1 u1 i" Y J4 [7 k( J9 n
also returns the state trajectory X, a matrix with LENGTH(T) rows5 ?; t) I1 Q; d
and as many columns as states.