lsim Simulate time response of dynamic systems to arbitrary inputs. 1 `5 R$ ^' ^, m7 y9 p3 Z , y0 ~1 w* Z6 b[Y,T,X] = lsim(SYS,U,T,X0) ! |5 c) i9 }4 s+ U" f# B also returns the state trajectory X, a matrix with LENGTH(T) rows 8 j8 X. u5 Y( A$ n: |/ |& C1 y1 ] and as many columns as states.