Method ssm/double


  Convert a statespace model object to double arrays for given i/o
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
  DESCRIPTION: double converts a statespace model object to double arrays.
 
  CALL:        [A B C D Ts ...
               inputvarnames ssvarnames outputvarnames ...
               inputvarunits ssvarunits outputvarunits ] = double(ssm, pl);
 
  INPUTS :
              ssm     - a ssm object
              pl      - an options plist
 
  OPTIONS :
  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.
  The field may be :
               - a cellstr containing the resp. input/state/output *variable* names
               - a logical indexing the resp. input/state/output *variables*
               names. Index is stored in a cell array, each cell
               correponding to one input/state/output block.
               - a double indexing the resp. input/state/output *variables*
               names. Index is stored in a cell array, each cell
               correponding to one input/state/output block.
               - 'ALL', this string indicates all i/o variables will be
               given
 
 
  OUTPUTS :    A                - the As matrices in one double array
               B                - the Bs matrices in one double array
               C                - the Cs matrices in one double array
               D                - the Ds matrices in one double array
               Ts               - the sampling time of the system. 0 is
                                  continuous
               inputvarnames    - the variable names corresponding to the
                                  columns of B and D
               ssvarnames       - the variable names corresponding to the
                                  rows of A and B, cols. of A and C
               outputvarnames   - the variable names corresponding to the
                                  rows of C and D
               inputvarunits    - the variable names corresponding to the
                                  columns of B and D
               ssvarunits       - the variable names corresponding to the
                                  rows of A and B, cols. of A and C
               outputunits      - the variable names corresponding to the
                                  rows of C and D
 
 
  Parameters Description
  
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Method Details
Access public
Defining Class ssm
Sealed 0
Static 0

Parameter Description

Default

no description
Key Default Value Options Description
double
INPUTS 'ALL' none A cell-array of input ports.
STATES 'ALL' none A cell-array of state ports.
OUTPUTS 'ALL' none A cell-array of output ports.

Example

plist('INPUTS', 'ALL', 'STATES', 'ALL', 'OUTPUTS', 'ALL')

back to top back to top

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