FOrbCart:

Path: SC/BasicOrbit

% Computes the right-hand-side of the orbit equations about a mass point.
   Only the first input is required.
--------------------------------------------------------------------------
   Form:
   xDot = FOrbCart( x, t, a, mu )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   x            (6,1)     The state vector [r;v]
   t            (1,1)     Time (unused)
   a            (3,1)     External acceleration (default is zero)
   mu           (1,1)     Gravitational parameter (default is Earth)

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

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

Children:

Math: Linear/Mag

Back to the SC Module page