RHSOrbit2D:

Path: Orbit/RHSOrbit

% Two dimensional orbit dynamics.

--------------------------------------------------------------------------
   Form:
   xDot = RHSOrbit2D( x, t, d )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   x          (4,1)   [r;v]
   t          (1,1)   Time (unused)
   d          (1,1)   Data structure
                      .mu (1,1) Gravitational potential
                      .a  (2,1) External acceleration

   -------
   Outputs
   -------
   xDot       (4,1)   d[r;v]/dt

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

Children:

Math: Linear/Mag

Back to the Orbit Module page