c2d: Continuous Time model conversion to Discrete Time model.
Description
c2d converts a system in continuous-time model to a discrete time model
Usage
c2d(sys, t)
Arguments
sys
An object of transfer function, state-space or zero-pole class
t
Sample time; a numeric value greater than 0
Value
Returns the provided system (transfer function, state-space or zero-pole) in an equivalent discrete-time.
Details
c2d converts the continuous-time system: x = Ax + Bu
to the discrete-time state-space system: x[n+1] = Phi * x[n] + Gamma * u[n] based on the method
of assuming a zero-order hold on the inputs and sample time
Transfer function and zero-pole systems are converted to state-space representation before
conversion to discrete-time.