Path: Common/DemoFuns
% Right hand side for a double integrator. This is the same as DoubleIntegratorRHS. -------------------------------------------------------------------------- Form: xDot = RHSDoubleIntegrator( 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