RelativeOrbitSeparation:

Path: FormationFlying/Dynamics

% Relative simulation with accelerations to produce an offset in leader-follower frame.
 This demo uses DiscreteHills to simulate a phase-change maneuver in the
 relative frame. Equivalent maneuvers are applied one orbit period apart. 

 See also OrbMnvrPhaseChange, OrbRate, Period, DiscreteHills, Plot2D,
 HillsFramePlot, Plot3D