ViewRotatingHillsFrame:

Path: FormationFlying/Visual

% Animate a satellite's relative trajectory in the inertial frame. 
   Show the satellite traverse the relative trajectory while the trajectory 
   is shown rotating around the orbit path. 

   Since version 7.
--------------------------------------------------------------------------
   Usage:
   h = ViewRotatingHillsFrame( rECI, vECI, rHills )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   rECI         (3,:)  Inertial position over time
   vECI         (3,:)  Inertial velocity over time
   rHills       (3,:)  Hills-frame position over time

   -------
   Outputs
   -------
   h             (1)   Handle to figure
   
--------------------------------------------------------------------------