ViewHills:

--------------------------------------------------------------------------
   Given the reference orbital elements, a time span, and the spacecrafts' 
   orbital elements, animate the relative motion.

   Since version 7.
--------------------------------------------------------------------------
   Form:
   ViewHills( el0, el, timeSpan, method )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   el0             (1,6) reference orbital elements [a i W w e M]
   el              (k,6) orbital elements of each spacecraft
   timeSpan         (1)  length of time to propagate
   method           (:)  method of propagation ('relative','keplerian','hi-fi')
                                               (    1           2         3   )

      - for method 1, first 3 inputs are: -

   w0              (1,1) orbital rate [rad/s]
   xH              (6,k) initial Hills state [km; km/s]
   timeSpan         (1)  

   -------
   Outputs
   -------
   sc               data structure of relative positions over time

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

Children:

Common: Time/Date2JD
FormationFlying: Dynamics/HillsEqns
FormationFlying: Transformation/ECI2Hills
Orbit: OrbitMechanics/J2Prop
Orbit: OrbitMechanics/RVOrbGen
OrbitMiniToolbox: Support/El2RV
Plotting: GUI/AnimationGUI