Simulate output of a continuous-time linear system.
Inputs:
- system – an instance of the LTI class or a tuple describing the
system. The following gives the number of elements in the tuple and the interpretation.
2 (num, den) 3 (zeros, poles, gain) 4 (A, B, C, D)- U – an input array describing the input at each time T
- (interpolation is assumed between given times). If there are multiple inputs, then each column of the rank-2 array represents an input.
- T – the time steps at which the input is defined and at which
- the output is desired.
X0 – (optional, default=0) the initial conditions on the state vector. interp – linear (1) or zero-order hold (0) interpolation
Outputs: (T, yout, xout)
T – the time values for the output. yout – the response of the system. xout – the time-evolution of the state-vector.