DOGram:

-------------------------------------------------------------------------------
   Compute the observability gramian for a discrete time system.
-------------------------------------------------------------------------------
   Form: [p,err] = DOGram(a,c)
-------------------------------------------------------------------------------

   ------
   Inputs
   ------
   a                   State matrix
   c                   Output matrix

   -------
   Outputs
   -------
   p                   Solution
   err                 Norm of the error

-------------------------------------------------------------------------------

Children:

Common: Control/SizeAC
Common: Math/DLyapG