SpinChange:

--------------------------------------------------------------------------
   Simulates a spin change.

   Since version 1.
--------------------------------------------------------------------------
   Form:
   [w, fuelUsed] = SpinChng( p, axis, w, wF, wait, inertia, cM, tId, eventName, database )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   p               (1,n)  Thruster pressure (psi)
   axis            (3,1)  Spin change axis
   w               (3,1)  Initial body rate (rad/sec)
   wF              (3,1)  Final body rate (rad/sec)
   wait            (n-1)  Delays between burns (sec)
   inertia         (3,3)  Inertia matrix
   cM              (3,1)  Center-of-mass
   tID             (1,n)  Thruster id's
   eventName       (1,:)  Event name
   database        (1,:)  Database name

   -------
   Outputs
   -------
   w               (3,1)  Final body rate
   fuelUsed        (1,m)  Fuel consumed per tank

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

Children:

Common: Graphics/Plot2D
Math: Integration/RK4
Missions: Comsat/REA
SC: Actuator/MomArm