FNLSpring:

Path: Common/DemoFuns

% Nonlinear estimator spring model. Used by CDKFDemo.
--------------------------------------------------------------------------
   Form:
   [xDot, fData] = FNLSpring( x, t, fData )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   x	      (1,1)  State
   t         (1,1)  Time
   fData     (1,1)  Data structure
                    .k  (1,1) coefficient
                    .x0 (1,1) nominal x

   -------
   Outputs
   -------
   xDot      (:)    Derivative
   fData     (1,1)  Data structure
                    .k  (1,1) coefficient
                    .x0 (1,1) nominal x

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

Back to the Common Module page