Skip to main content
`Ctrl`+`K`
scipy.signal.lti.

# to_discrete

lti.to_discrete(dt, method='zoh', alpha=None)

  Return a discretized version of the current system.

  Parameters:
    dt float

      The discretization time step.

    method str, optional

      Which method to use:

      - gbt: generalized bilinear transformation

      - bilinear: Tustin’s approximation (“gbt” with alpha=0.5)

      - euler: Euler (or forward differencing) method (“gbt” with alpha=0)

      - backward_diff: Backwards differencing (“gbt” with alpha=1.0)

      - zoh: zero-order hold (default)

      - foh: first-order hold

      - impulse: equivalent impulse response

    alpha float within [0, 1], optional

      The generalized bilinear transformation weighting parameter, which should only be specified with method=”gbt”, and is ignored otherwise

  Returns:
    sys: dlti

      Discrete version of the current system.

  See also

  `cont2discrete`