OrbElemDiff:

Path: Orbit/OrbitCoord

% Computes the differences between orbital element vectors.
 This wraps the phase appropriately for all the angular elements.
--------------------------------------------------------------------------
   Form:
   dEl = OrbElemDiff( el0, el, type )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   el0            (1,6) reference orbital elements        
   el             (1,6) secondary orbital elements       
   type            (1)  type
                          1 -- [a,th,i,q1,q2,W]
                          2 -- [a,i,W,w,e,M]

   -------
   Outputs
   -------
   dEl           (:,6) orbital element differences
   
--------------------------------------------------------------------------

Children:

Math: Trigonometry/WrapPhase

Back to the Orbit Module page