Eul2Q:

Path: Common/Transform

% Converts 3-2-1 Euler angles to a quaternion
 Uses the half angle formulas. 

--------------------------------------------------------------------------
   Form:
   q = Eul2Q( e )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   e		(3,:)    Euler angles (rad)

   -------
   Outputs
   -------
   q		(4,:)    Equivalent quaternion

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

Back to the Common Module page