DeltaElem2Goals:

--------------------------------------------------------------------------
   Reconstructs the geometric goals from the element differences. 
   The reference elements are also required.

   Since version 7.
--------------------------------------------------------------------------
   Form:
   goals = DeltaElem2Goals( el0, dEl, J2 );
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   el0       (1,6)     Measured orbital elements (Alfriend format) [a,theta,i,q1,q2,W]
   dEl       (:,6)     Desired orbital element differences
   J2         (1)      Size of the J2 perturbation (default 0)

   -------
   Outputs
   -------
   goals            (.)      Geometric goals data structure with following fields:
     - y0          (1,:)        along-track offset                             [km]
     - aE          (1,:)        semi-major axis of relative ellipse            [km]
     - beta0       (1,:)        angle on ellipse at perigee                   [rad]
     - zInc        (1,:)        cross-track amplitude due to inclination diff  [km]
     - zLan        (1,:)        cross-track amplitude due to right ascen diff  [km]
--------------------------------------------------------------------------

Children:

FormationFlying: Transformation/DeltaElem2Hills
FormationFlying: Transformation/Hills2Goals