DynP:

Path: SC/DemoFuns

% Returns the mass and right hand side of the dynamics equations.
 Similar to Dyn but without g

--------------------------------------------------------------------------
   Form:
   [M, Q] = DynP( x, t, dynData ) 
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   x            (4,1)     The state vector [x;y;xDot;yDot]
   t                      Time
   dynData      (1,3)     [m g]

   -------
   Outputs
   -------
   M            (2,2)     The mass matrix
   Q            (2,1)     The right hand side

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

Back to the SC Module page