control.matlab.c2d

control.matlab.c2d(sysc, Ts, method='zoh', prewarp_frequency=None)

Return a discrete-time system

Parameters
  • sysc (LTI (StateSpace or TransferFunction), continuous) – System to be converted

  • Ts (number) – Sample time for the conversion

  • method (string, optional) – Method to be applied, ‘zoh’ Zero-order hold on the inputs (default) ‘foh’ First-order hold, currently not implemented ‘impulse’ Impulse-invariant discretization, currently not implemented ‘tustin’ Bilinear (Tustin) approximation, only SISO ‘matched’ Matched pole-zero method, only SISO

  • prewarp_frequency (float within [0, infinity)) – The frequency [rad/s] at which to match with the input continuous- time system’s magnitude and phase