LyapG:

Path: Math/Analysis

% Solve the general Lyapunov equation ap + pa' + q = 0

--------------------------------------------------------------------------
   Form: 
   [p, err] = LyapG( a, q )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   a                   Matrix
   q                   Matrix

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

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

Back to the Math Module page