VelAltFpaToAENu:

Path: Orbit/OrbitCoord

% Converts flight path angle, velocity and r to orbital elements.

   Type VelAltFpaToAENu for a demo.

   mu is optional and 3.98600436e5 will be used if mu is not entered.
--------------------------------------------------------------------------
   Form:
   [a, e, nu] = VelAltFPAToAENu( v, h, gamma, mu )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   v           (1,1)  Velocity
   h           (1,1)  Altitude
   gamma       (1,1)  Flight path angle (rad)
   mu          (1,1)  Gravitational parameter

   -------
   Outputs
   -------
   a           (1,1)  Semi-major oxis
   e           (1,1)  Eccentricity
   nu          (1,1)  True anomaly

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

Back to the Orbit Module page