Path: Common/DemoFuns
% Models a double integrator and a bias. The inputs are acceleration and the 1 sigma noise of the bias. The bias is modeled as a random walk. t is not used. -------------------------------------------------------------------------- Form: xDot = RHS1DWithAccel( x, t, d ) -------------------------------------------------------------------------- ------ Inputs ------ x (3,1) State [position;velocity;bias] t (1,1) Time (not used) d (.) Data structure .sigma (1,1) Noise standard deviation .a (1,1) Acceleration ------- Outputs ------- xDot (3,1) State d[position;velocity;bias]/dt --------------------------------------------------------------------------
Back to the Common Module page