Method ssm/modifyTimeStep


  MODIFYTIMESTEP modifies the timestep of a ssm object
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
  DESCRIPTION: MODIFYTIMESTEP modifies the timestep of a ssm object, and updates
               the A and B matrices supposing there is no aliasing.
 
  CALL: sys = modifyTimeStep(sys,pl)
 
  INPUTS:
            sys - (array of) ssm objects
             pl - A plist or numeric value giving new timestep value (param name 'newtimestep')
 
  OUTPUTS:
            sys - (array of) ssm
 
  Parameters Description
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Method Details
Access public
Defining Class ssm
Sealed 0
Static 0

Parameter Description

internal

no description
Key Default Value Options Description
modifyTimeStep
NEWTIMESTEP [] none Specify the desired new timestep.
OUTPUTANTIALIAS 1
  • 1
  • 0
Uses a linear averaging method to compute the systems output.
TIMESTEPDIVIDER 0
  • 0
  • 1
Flag to avoid D matrix divergences by reducing the timeStep during the exponential matrix series computation.

Example

plist('NEWTIMESTEP', [[]], 'OUTPUTANTIALIAS', [true], 'TIMESTEPDIVIDER', [false])

back to top back to top

control_toolbox

no description
Key Default Value Options Description
modifyTimeStep
NEWTIMESTEP [] none Specify the desired new timestep.
METHOD 'Internal'
  • 'Internal'
  • 'ZOH'
  • 'Bilinear'
  • 'matched'
  • 'FOH'
  • 'Impulse'
  • 'Linear'
Conversion method for discrete-to-continuous.
  • Internal - Use algorithims internal to ssm/modifyTimeStep
  • Methods appropriate for discritization of continuous systems (inherited from ssm/c2d)
    • ZOH - Zero-order hold on the inputs
    • FOH - First-order hold of the inputs
    • Impulse - Impulse invariant discretization.
    • Bilinear - Bilinear approximation (Tustin method)
    • matched - matched pole-zero method (for SISO systems only)
  • Methods appropriate for making continuous approximation of discrete systems (inherited from ssm/d2c)
    • ZOH - Zero-order hold on the inputs
    • Linear - Linear interpolation of the inputs
    • Bilinear - Bilinear approximation (Tustin method)
    • matched - matched pole-zero method (for SISO systems only)
  • Methods appropriate for resampling discrete systems (inherited from ssm/d2d)
    • ZOH - Zero-order hold on the inputs
    • Bilinear - Bilinear approximation (Tustin method)
OPTIONS [] none Fine-control options to be passed to the appropriate ss method.
  • Discrete to continuous: must be of type ltioptions.d2c, can be created with d2cOptions
  • Continuous to discrete: must be of type ltioptions.c2d, can be created with c2dOptions
  • Discrete to discrete (resampling): must be of type ltioptions.d2d, can be created with d2dOptions
OUTPUTANTIALIAS 1
  • 1
  • 0
Uses a linear averaging method to compute the systems output. Used for Internal method only
TIMESTEPDIVIDER 0
  • 0
  • 1
Flag to avoid D matrix divergences by reducing the timeStep during the exponential matrix series computation. Used for internal method only

Example

plist('NEWTIMESTEP', [[]], 'METHOD', 'Internal', 'OPTIONS', [[]], 'OUTPUTANTIALIAS', [true], 'TIMESTEPDIVIDER', [false])

back to top back to top

Some information of the method ssm/modifyTimeStep are listed below:
Class name ssm
Method name modifyTimeStep
Category Operator
Package name ltpda
VCS Version 967b0eec0dece803a81af8ef54ad2f8c784b20b2
Min input args 1
Max input args -1
Min output args 1
Max output args -1
Can be used as modifier 1
Supported numeric types {'double'}




©LTP Team