ml_ct_dss_lti2struct

Maps given input to a descriptor LTI system struct.

Contents

Syntax

[sys, opts, ioformat] = ml_ct_dss_lti2struct(A, B, C, D, E)
[sys, opts, ioformat] = ml_ct_dss_lti2struct(A, B, C, D, E, opts)
[sys, opts, ioformat] = ml_ct_dss_lti2struct(sys)
[sys, opts, ioformat] = ml_ct_dss_lti2struct(sys, opts)

Description

This function gets the possible inputs of the model order reduction
methods, checks the system matrices and returns structs for the system
and the options in the right format
    Ex'(t) = A*x(t) + B*u(t),                                       (1)
      y(t) = C*x(t) + D*u(t).                                       (2)
Also, the input format is returned as an integer.

Input

A    - matrix from (1) with dimensions n x n
B    - matrix from (1) with dimensions n x m
C    - matrix from (2) with dimensions p x n
D    - matrix from (2) with dimensions p x m
E    - matrix from (1) with dimensions n x n
sys  - structure or state-space object, containing the descriptor
       system's matrices

Entry
Meaning
A
matrix from (1) with dimensions n x n
B
matrix from (1) with dimensions n x m
C
matrix from (2) with dimensions p x n
D
matrix from (2) with dimensions p x m
E
matrix from (1) with dimensions n x n

opts - structure, containing optional parameters

Output

sys      - structure, containing the descriptor system's matrices

Entry
Meaning
A
matrix from (1) with dimensions n x n
B
matrix from (1) with dimensions n x m
C
matrix from (2) with dimensions p x n
D
matrix from (2) with dimensions p x m
E
matrix from (1) with dimensions n x n

opts     - structure, containing optional parameters
ioformat - integer, describing the input format
             0 - for input type matrices
             1 - for input type struct
             2 - for input type state-space object

See Also

ml_ct_ss_lti2struct