Orthogonalize:

Path: Math/Linear

% Orthogonalize a matrix 

   m = m/sqrtm(m'*m);

   so that m'*m = eye(3)

--------------------------------------------------------------------------
   Form:
   m = Orthogonalize( m )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   m               (3,3)  Matrix

   -------
   Outputs
   -------
   m               (3,3)  Orthogonal atrix

--------------------------------------------------------------------------
   Raible, E. (1990) Graphics Gems.
--------------------------------------------------------------------------

Back to the Math Module page