ECI2Hills:

--------------------------------------------------------------------------
   Compute the relative state in Hills frame given two ECI state vectors.
   The first input is treated as the reference state.

   Since version 7.
--------------------------------------------------------------------------
   Form:
   xH = ECI2Hills( x0, x1 )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   x0              (6,1) [r;v] ECI frame (reference)
   x1              (6,n) [r;v] ECI frame

   -------
   Outputs
   -------
   xH              (6,n) [r; v] Hills frame
                         [dR; r0*dTheta; dZ; dRDot; r0*dThetaDot; dZDot]

--------------------------------------------------------------------------

Children:

FormationFlying: Coord/GetHillsMats
Math: Linear/Dot
Math: Linear/Mag