DIModel:

Path: SC/Dynamics

% Double integrator model.
   The equations have the form

   [ x ]   [ 0  1 ] [ x ]   [ 0 ]
   [   ] = [      ] [   ] + [   ] u/inr
   [ v ]   [ 0  0 ] [ v ]   [ 1 ]

   The function can return state space matrices or a state derivative.

   Since version 1.
--------------------------------------------------------------------------
   Form:
   [a, b, c, d] = DIModel( inr, tSamp, sType )
   [dxdt   ] = DIModel( inr, x, u )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   inr            (1,1) Inertia
   tSamp or x     (1,1) Sampling frequency or state
   sType or u     (1,:) State equation type ('Delta' or 'Z') or input

   -------
   Outputs
   -------
   a or dxdt      (2,2) Plant matrix or state derivative
   b              (2,1) Input matrix
   c              (1,1) Measurement matrix
   d              (1,1) Feedthrough matrix

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

Children:

Common: CommonData/SwooshWatermark
Common: Control/C2DZOH
Common: Control/C2DelZOH
Common: Control/FResp
Common: Control/GND
Common: Control/GSS
Common: Control/ND2SS
Common: Control/S2Damp
Common: Control/SS2ND
Common: Control/SizeABCD
Common: Control/TrnsZero
Common: Control/WPZ
Common: Control/WReson
Common: Control/ZFresp
Common: General/CellToMat
Common: General/MatToCell
Common: General/Watermark
Common: Graphics/LogLimit
Common: Graphics/NewFig
Common: Graphics/Plot2D
Common: Graphics/PltStyle
Common: Graphics/TextS
Math: Linear/ColCompR
Math: Linear/DelLZ
Math: Linear/IsZero
Math: Linear/RowCompU

Back to the SC Module page