RHSMomentum:

Path: CubeSat/Simulation

% RHS for momentum in the inertial frame.
 dh/dt = torque

 Since version 9.
--------------------------------------------------------------------------
   Form:
   hDot = RHSMomentum( h, t, torque )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   h            (3,1)     Angular momentum
   t            (1,1)     Time (unused)
   torque       (3,1)     Torque vector

   -------
   Outputs
   -------
   hDot         (4,1)     Momentum derivative

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

Back to the CubeSat Module page