U2AzEl:

Path: AerospaceUtils/Coord

% Converts a unit vector to azimuth and elevation.
--------------------------------------------------------------------------
   Form:
   [az, el] = U2AzEl( u, x, y )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   u         (3,:)   Unit vectors
   x         (3,1)   x-axis
   y         (3,1)   y-axis

   -------
   Outputs
   -------
   az        (1,:)   Azimuth    
   el        (1,:)   Elevation    

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

Children:

Math: Linear/Cross
Math: Linear/Unit

Back to the AerospaceUtils Module page