C2DZOH:
-------------------------------------------------------------------------------
Create a discrete time system from a continuous system
assuming a zero-order-hold at the input.
Given
.
x = ax + bu
Find f and g where
x(k+1) = fx(k) + gu(k)
-------------------------------------------------------------------------------
Form:
[f, g] = C2DZOH( a, b, T )
-------------------------------------------------------------------------------
------
Inputs
------
a (n,n) Continuous plant matrix
b (n,m) Input matrix
T (1,1) Time step
-------
Outputs
-------
f (n,n) Discrete plant matrix
g (n,m) Discrete input matrix
-------------------------------------------------------------------------------
Children: