DCGram:
-------------------------------------------------------------------------------
Compute the controllability gramian for a discrete time system.
-------------------------------------------------------------------------------
Form:
[p, err] = DCGram( a ,b )
-------------------------------------------------------------------------------
------
Inputs
------
a State matrix
b Input matrix
-------
Outputs
-------
p Solution
err Norm of the error
-------------------------------------------------------------------------------
Children:
Common: Control/SizeAB
Common: Math/DLyapG