RHSX:

Path: Common/DemoFuns

--------------------------------------------------------------------------
   Right hand side for a one dimensional vertical motion simulation.
   Adds Gaussian random variations to the thrust.

   Since version 11.
--------------------------------------------------------------------------
   Form:
   xDot = RHSX( x, t, d )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   x             (2,1)  [x;v]
   t             (1,1)  Time (not used)
   d             (1,1)   Data structure
                         .m        (1,1) Mass
                         .g        (1,1) Acceleration of gravity
                         .tNoise   (1,1) Standard deviation of thrust
                         .t0       (1,1) Average thrust

   -------
   Outputs
   -------
   xDot           (2,1)   State derivative

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

Back to the Common Module page