Path: Orbit/ThreeBody
% Compute the RHS of the CRTBP equations of motion. For arbitrary 'mu' parameter - smaller mass divided by total mass of system. Since version 9. -------------------------------------------------------------------------- Form: yDot = RHSCRTBP( t, y, mu ) -------------------------------------------------------------------------- ------ Inputs ------ t (1,1) Time (not used) y (6,1) State vector [r;v] mu (1,1) CRTBP mass ratio ------- Outputs ------- yDot (6,1) Time derivative of the state vector --------------------------------------------------------------------------
Back to the Orbit Module page