R2LatLon:

Path: AerospaceUtils/Coord

% Computes geocentric latitude and longitude from r 

 Since version 1.
--------------------------------------------------------------------------
   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: Graphics/Plot2D
Math: Linear/Unit

Back to the AerospaceUtils Module page