Model the Relative Motion between Satellites in Orbit

The ClohessyWiltshire equations model the relative motion between two satellites orbiting a central body. This is a linear model for the Cartesian position of one satellite relative to another. Two simulations are done here with different initial conditions for each simulation.

Use StateResponse to obtain the closed relative orbits from a particular set of launch conditions: