RHSMarsOrbit:

Path: Missions/MarsOrbiter

% Right hand side for a Mars orbit simulation.
--------------------------------------------------------------------------
   Forms:
   xDot = RHSMarsOrbit( x, ~, mu )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   x     (:,1)   State [rECI;vECI;...]
   t     (1,1)   Time (not used)
   mu    (1,1)   Gravitational constant

   -------
   Outputs
   -------
   xDot  (:,1)   dx/dt

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

Children:

Math: Linear/Mag

Back to the Missions Module page