FOrb:

Path: Orbit/RHSOrbit

% Computes the right-hand-side of the orbit equations about a mass point
   with options for cartesian, spherical, or cylindrical coordinates.

   Since version 1.
--------------------------------------------------------------------------
   Form:
   xDot = FOrb( x, t, fType, a, mu )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   x            (6,1)     The state vector [r;v]
   t                      Time
   fType                  Type of equations 'car','sph','cyl'
   a            (3,1)     External acceleration*
   mu                     Gravitational parameter*
                             *Optional

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

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

Children:

Orbit: OrbitMechanics/CylOrb
Orbit: OrbitMechanics/SphOrb
SC: BasicOrbit/FOrbCart

Back to the Orbit Module page