RV2El:

Path: SC/BasicOrbit

% Converts Cartesian state to Keplerian orbital elements.

   Since version 1.
--------------------------------------------------------------------------
   Form:
   [el, E, f] = RV2El( r, v, mu )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   r               (3,1) Position vector
   v               (3,1) Velocity vector
   mu              (1,1) Gravitational constant

   -------
   Outputs
   -------
   el              (1,6) Elements vector [a,i,W,w,e,M]
   E               (1,1) Eccentric anomaly
   f               (1,1) True anomaly

   See also: El2RV, RVFromKepler

--------------------------------------------------------------------------
   References:   Vallado, D. A. (1997.) Fundamentals of Astrodynamics and
                 Applications. pp. 144-147.
--------------------------------------------------------------------------

Children:

Math: Linear/Cross
Math: Linear/Mag
SC: BasicOrbit/Nu2E
SC: BasicOrbit/Nu2M

Back to the SC Module page