DeltaElem2Hills:

Path: FormationFlying/Transformation

% Computes the Hills frame state from orbital element differences and 
   reference orbital elements.
--------------------------------------------------------------------------
   Usage:
   [xH,m] = DeltaElem2Hills( el0, dEl, J2 );
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   el0           (1,6)  reference orbital elements:    [a,th,i,q1,q2,W]
   dEl           (:,6)  orbital element differences:   [a,th,i,q1,q2,W]
   J2             (1)   size of the J2 perturbation

   -------
   Outputs
   -------
   xH            (6,:)  relative position and velocity in Hills frame [km; km/s]
   m             (6,6)  transformation matrix 
   
--------------------------------------------------------------------------

Children:

FormationFlying: Transformation/Hills2DeltaElem

Back to the FormationFlying Module page