Step:

Path: Common/Control

% Generate a step response of a state space system. 
   If no outputs are given it will plot.
--------------------------------------------------------------------------
   Form:
   [y,x,t] = Step( g, iU, dT, nSim, inputType, statesFlag )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   g                      State space system of type statespace
   iU           (n)       Input* optional, defaults to all
   dT           (1)       Time step*
   nSim         (1)       Number of steps*
   inputType    (:)       'step', 'impulse', 'white noise'* optional,
                             defaults to a step response.
   statesFlag   (1)       Flag for plotting the states, optional.

   -------
   Outputs
   -------
   y           (p,m)      Step response
   x           (n,m)      States
   t           (1,m)      Time vector

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

Children:

Common: CommonData/SwooshWatermark
Common: Control/C2DZOH
Common: Control/S2Damp
Common: General/CellToMat
Common: General/MatToCell
Common: General/Watermark
Common: Graphics/NewFig
Common: Graphics/Plot2D
Common: Graphics/PltStyle
Common: Graphics/TimeLabl

Back to the Common Module page