lsim Simulate time response of dynamic systems to arbitrary inputs. " p' `/ O0 o! p: s. i" \7 I5 S) g: @- b! U
[Y,T,X] = lsim(SYS,U,T,X0): N. e' i$ ?; f4 g0 q
also returns the state trajectory X, a matrix with LENGTH(T) rows9 s8 Z2 ~' _ ^( W
and as many columns as states.