C2DPulse:
-------------------------------------------------------------------------------
Create a discrete time system from a continuous system
assuming a pulse at the input.
Given
.
x = ax + bu
Find f and g where
x(k+1) = fx(k) + gu(k)
-------------------------------------------------------------------------------
Form:
[f, g] = C2DPulse( a, b, T, tau )
-------------------------------------------------------------------------------
------
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: