Path: Common/DemoFuns
% Models a double integrator. -------------------------------------------------------------------------- Form: xDot = RHS1D( x, t, d ) -------------------------------------------------------------------------- ------ Inputs ------ x (2,1) State [position;velocity] t (1,1) Time (not used) d (.) .a (1,1) Acceleration ------- Outputs ------- xDot (2,1) State d[position;velocity]/dt --------------------------------------------------------------------------
Back to the Common Module page