DoubleIntegratorRHS:

Path: Common/DemoFuns

--------------------------------------------------------------------------
   Right hand side for a double integrator.

   Since version 10.
--------------------------------------------------------------------------
   Form:
   xDot = DoubleIntegratorRHS( x, t, u, mass )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   x	      (2,1)  [position;velocity]
   t         (1,1)  Time
   u         (1,1)  Control
   mass      (1,1)  Mass

   -------
   Outputs
   -------
   xDot      (2,1)  d[position;velocity]/dt

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

Back to the Common Module page