CheckDeltaVs:

Path: FormationFlying/Analysis

% Plot the trajectory that will result from a planned maneuver.
 Given the current state & the maneuver planned using this state, plot the
 trajectory throughout the maneuver and for an orbit after the final burn.

--------------------------------------------------------------------------
   Form:
   [dElFinal,xHFinal] = CheckDeltaVs( state, maneuver, iD, nSPO, plotFlag );
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   state            (.)   State data structure at time of maneuver planning
   maneuver         (.)   Maneuver data structure, computed using IterativeImpulsiveManeuver
   iD               (1)   Spacecraft ID to distinguish plots 
                             (optional, default is 1)
   nSPO             (1)   Number of simulation points per orbit 
                             (optional, default is 250)
   plotFlag         (1)   Flag -- create plots (1) or not (0) 
                             (optional, default is 1)

   -------
   Outputs
   -------
   dElFinal        (:,6)   Orbital element differences
   xHFinal         (6,:)   Hills frame position and velocity

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