Altitude:

--------------------------------------------------------------------------
   Computes the altitude above an ellipsoidal planet.

   Since version 1.
--------------------------------------------------------------------------
   Form:
   h = Altitude( r, f, a, units )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   r             (3,:)   ECI position vectors (units)
   f             (1,1)   Flattening factor
   a             (1,1)   Equatorial radius
   units         (1,:)   Units, mks or other

   -------
   Outputs
   -------
   h             (1,:)   Altitude (units)

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

Children:

Common: Graphics/Plot2D