R2LatLon:

Path: AerospaceUtils/Coord

% Computes geocentric latitude and longitude from r 

--------------------------------------------------------------------------
   Form:
   [lat, lon] = R2LatLon( x, y, z )
   [lat, lon] = R2LatLon( r )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   x            (1,:)     X or [x;y;z]
   y            (1,:)     Y
   z            (1,:)     Z

   -------
   Outputs
   -------
   lat          (1,:)     Latitude (rad)
   lon          (1,:)     East longitude (0 in xz-plane, +right hand rule
                          about +z)  (rad)

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

Children:

Common: CommonData/SwooshWatermark
Common: General/CellToMat
Common: General/MatToCell
Common: General/Watermark
Common: Graphics/NewFig
Common: Graphics/Plot2D
Common: Graphics/PltStyle
Math: Linear/Unit

Back to the AerospaceUtils Module page