VR2AE:

Path: Orbit/OrbitCoord

% Computes sma and eccentricity given v and r.
 Will generate a plot when called with no outputs. If the lengths of v and
 r are equal it will treat them sequentially so a and e are both (1,n).

--------------------------------------------------------------------------
   Form:
   [a, e] = VR2AE( v, r, mu )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   v           (1,n)    Velocity
   r           (1,m)    Radius
   mu                   Gravitational parameter (default = 3.98600436e5)

   -------
   Outputs
   -------
   a           (m,n)    Semi major axis
   e           (m,n)    Eccentricity

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

Children:

Orbit: OrbitMechanics/VEscape
Common: Graphics/Mesh2
Math: Linear/DupVect

Back to the Orbit Module page