RHSCartesian:

--------------------------------------------------------------------------
   Right-hand-side for point-mass cartesian orbit with external acceleration.

   Since version 7.
--------------------------------------------------------------------------
   Form:
   xDot = RHSCartesian( t, x, d )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   t          (1,1)  Time
   x          (6,1)  States [r;v]
   d          (1,1)  Structure to pass to the integration RHS
                     .mu, gravitational parameter
                     .f,  external acceleration, (3,1)

   -------
   Outputs
   -------
   xDot       (3,1)   State derivatives d[v]/dt

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

Children:

Math: Linear/Mag