DCGram:

--------------------------------------------------------------------------
   Compute the controllability gramian for a discrete time system.

   Since version 2.
--------------------------------------------------------------------------
   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
Math: Analysis/DLyapG