dlsim(system, u, t=None, x0=None)
A tuple describing the system. The following gives the number of elements in the tuple and the interpretation:
1: (instance of
dlti
)3: (num, den, dt)
4: (zeros, poles, gain, dt)
5: (A, B, C, D, dt)
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.
The time steps at which the input is defined. If t
is given, it must be the same length as u
, and the final value in t
determines the number of steps returned in the output.
The initial conditions on the state vector (zero by default).
Time values for the output, as a 1-D array.
System response, as a 1-D array.
Time-evolution of the state-vector. Only generated if the input is a StateSpace
system.
Simulate output of a discrete-time linear system.
A simple integrator transfer function with a discrete time step of 1.0 could be implemented as:
>>> from scipy import signalSee :
... tf = ([1.0,], [1.0, -1.0], 1.0)
... t_in = [0.0, 1.0, 2.0, 3.0]
... u = np.asarray([0.0, 0.0, 1.0, 1.0])
... t_out, y = signal.dlsim(tf, u, t=t_in)
... y.T array([[ 0., 0., 0., 1.]])
The following pages refer to to this document either explicitly or contain code examples using this.
scipy.signal._ltisys.dlti.output
scipy.signal._ltisys.dstep
scipy.signal._ltisys.dlsim
scipy.signal._ltisys.dimpulse
Hover to see nodes names; edges to Self not shown, Caped at 50 nodes.
Using a canvas is more power efficient and can get hundred of nodes ; but does not allow hyperlinks; , arrows or text (beyond on hover)
SVG is more flexible but power hungry; and does not scale well to 50 + nodes.
All aboves nodes referred to, (or are referred from) current nodes; Edges from Self to other have been omitted (or all nodes would be connected to the central node "self" which is not useful). Nodes are colored by the library they belong to, and scaled with the number of references pointing them