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.

    
In[1]:=
Click for copyable input
Use StateResponse to obtain the closed relative orbits from a particular set of launch conditions:
In[2]:=
Click for copyable input
In[3]:=
Click for copyable input
Out[3]=