ComplexToReal:

Path: Math/Linear

% Convert a matrix from complex to real. 
 c is assumed to have columns of complex conjugates next to each other. 
--------------------------------------------------------------------------
   Form:
   [r, t] = ComplexToReal( c )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   c              (n,m)       Square complex matrix

   -------
   Outputs
   -------
   r              (n,m)       Square real matrix
   t              (m,m)       Transformation matrix.

--------------------------------------------------------------------------
   Reference: Andry, A. N., Jr., Shapiro, E.Y. and J.C. Chung, 
              "Eigenstructure Assignment for Linear Systems," IEEE 
              Transactions on Aerospace and Electronic Systems,
              Vol. AES-19, No. 5. September 1983.
--------------------------------------------------------------------------

Back to the Math Module page