Simulate output of a continuous-time linear system, by using the ODE solver scipy.integrate.odeint.
Parameters : | system : an instance of the LTI class or a tuple describing the system.
U : ndarray or array-like (1D or 2D), optional
T : ndarray or array-like (1D or 2D), optional
X0 : ndarray or array-like (1D), optional
kwargs : dict
|
---|---|
Returns : | T : 1D ndarray
yout : ndarray
xout : ndarray
|
Notes
This function uses scipy.integrate.odeint to solve the system’s differential equations. Additional keyword arguments given to lsim2 are passed on to odeint. See the documentation for scipy.integrate.odeint for the full list of arguments.