Function File: sys = c2d (sys, tsam)
Function File: sys = c2d (sys, tsam, method)
Function File: sys = c2d (sys, tsam, ’prewarp’, w0)
Convert the continuous LTI model into its discrete-time equivalent.
Inputs
- sys
- Continuous-time LTI model.
- tsam
- Sampling time in seconds.
- method
- Optional conversion method. If not specified, default method "zoh"
is taken.
- ’impulse’
- Impulse Invarient transformation.
- ’zoh’
- Zero-order hold or matrix exponential.
- ’foh’
- First-order hold, linear approximation of the input signals between
two sample times
- ’tustin’, ’bilin’
- Bilinear transformation or Tustin approximation.
- ’prewarp’
- Bilinear transformation with pre-warping at frequency w0.
- ’matched’
- Matched pole/zero method.
Outputs
- sys
- Discrete-time LTI model.
Source Code:
@lti/c2d