CRTBPRHS:

Path: Orbit/ThreeBody

% Right-hand-side for the circular restricted three body problem.
     X is along primary - secondary body line
     Z is normal to plane of motion 
     Y completes right-hand system

   Since version 10.
--------------------------------------------------------------------------
   Form:
   xDot = CRTBPRHS( x, t, mu )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   x            (6,1)     The state vector [r;v]
   t            (1,1)     Time (unused)
   mu           (1,1)     Non-dimensional mass parameter.
                           Smaller mass divided by total mass of system.

   -------
   Outputs
   -------
   xDot         (6,1)     The derivative of the state vector

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

Back to the Orbit Module page