SciPy

scipy.signal.dstep

scipy.signal.dstep(system, x0=None, t=None, n=None)[source]

Step response of discrete-time system.

Parameters:

system : a tuple describing the system.

The following gives the number of elements in the tuple and the interpretation:

  • 3: (num, den, dt)
  • 4: (zeros, poles, gain, dt)
  • 5: (A, B, C, D, dt)

x0 : array_like, optional

Initial state-vector (default is zero).

t : array_like, optional

Time points (computed if not given).

n : int, optional

Number of time points to compute if t is not given.

Returns:

t : ndarray

Output time points, as a 1-D array.

yout : tuple of array_like

Step response of system. Each element of the tuple represents the output of the system based on a step response to each input.

Previous topic

scipy.signal.dimpulse

Next topic

scipy.signal.tf2zpk