Method ssm/resp


  RESP gives the timewise impulse response of a statespace model.
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
  DESCRIPTION: RESP gives the timewise impulse response of a statespace
               model.
 
  CALL: mat_out = resp(sys, plist_inputs)
 
  INPUTS:
          - sys, (array of) ssm object
 
  plist with parameters 'inputs', 'states' and 'outputs' to indicate which
  inputs, states and outputs variables are taken in account. This requires
  proper variable naming. If a variable called appears more that once it
  will be used once only.
 
  OUTPUTS:
          - mat_out contains the timewise response (one for each input)
 
  Parameters Description
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Method Details
Access public
Defining Class ssm
Sealed 0
Static 0

Parameter Description

Default

no description
Key Default Value Options Description
reorganize
INPUTS 'ALL' none A cell-array of input ports and blocks.
OUTPUTS 'ALL' none A cell-array of output ports and blocks.
STATES 'NONE' none A cell-array of states ports and blocks.
resp
RESPONSE 'impulse'
  • 'impulse'
  • 'step'
Specify the type of response wanted
TMAX -1 none Specify the duration of response wanted [s] (automatically set if not specified by user, and system is stable)
REORGANIZE 1
  • 1
  • 0
When set to 0, this means the ssm does not need be modified to match the requested i/o. Faster but dangerous!

Example

plist('INPUTS', 'ALL', 'OUTPUTS', 'ALL', 'STATES', 'NONE', 'RESPONSE', 'impulse', 'TMAX', [-1], 'REORGANIZE', [true])

back to top back to top

Some information of the method ssm/resp are listed below:
Class name ssm
Method name resp
Category Signal Processing
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