Hills2DeltaElem:

--------------------------------------------------------------------------
   Computes the orbital element differences from the Hills frame state and the
   reference orbital elements.

   Since version 7.
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   el0           (1,6)  chief orbital elements         [a,th,i,q1,q2,W]
   xH            (6,:)  relative position and velocity in Hills frame [km; km/s]
   J2             (1)   size of the J2 perturbation

   -------
   Outputs
   -------
   dEl           (:,6)  orbital element differences:   [a,th,i,q1,q2,W]
   m             (6,6)  transformation matrix 
   
--------------------------------------------------------------------------

Children:

FormationFlying: Transformation/DeltaElem2Hills