QSunPointing:

Path: SC/Ephem

% Creates a sun reference frame with +x pointing at the sun.
   +y is as close to +z as possible and +z completes the set.
--------------------------------------------------------------------------
   Form:
   q = QSunPointing( uSun )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   uSun 		  (3,:)   Sun unit vector

   -------
   Outputs
   -------
   q			  (4,:)   Quaternion

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

Children:

Common: Quaternion/Mat2Q
Math: Linear/Cross
Math: Linear/Unit

Back to the SC Module page