CInputs:

Path: Common/Control

% Generates different control inputs.
   d is the data 
   pulse doublet:  d.init, d.dT, d.magnitude
   step:           d.init, d.magnitude
   ramp:           d.init, d.slope

   d.init      is the initial u
   d.dT        is the duration of the pulse
   d.magnitude is the magnitude of the pulse
   d.slope     is the slope
--------------------------------------------------------------------------
   Form:
   u = CInputs( t, tStart, d, type )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   t           (1,1)  Time
   tStart      (1,1)  Time to start
   d           (:)    Data
   type        (1,:)  Type 'pulse', 'doublet', 'ramp', 'step'

   -------
   Outputs
   -------
   u           (1,1)  Output

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

Back to the Common Module page