ml_ct_soss_lti2struct

Maps given input to a second-order system struct.

Contents

Syntax

[sys, opts, ioformat] = ml_ct_soss_lti2struct(M, E, K, Bu, Cp, Cv, D)
[sys, opts, ioformat] = ml_ct_soss_lti2struct(M, E, K, Bu, Cp, Cv, D, opts)
[sys, opts, ioformat] = ml_ct_soss_lti2struct(sys)
[sys, opts, ioformat] = ml_ct_soss_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
    M*x''(t) = -K*x(t) -  E*x'(t) + Bu*u(t)                         (1)
        y(t) = Cp*x(t) + Cv*x'(t) +  D*u(t)                         (2)
Also, the input format is returned as an integer.

Input

M    - matrix from (1) with dimensions n x n
E    - matrix from (1) with dimensions n x n
K    - matrix from (1) with dimensions n x n
Bu   - matrix from (1) with dimensions n x m
Cp   - matrix from (2) with dimensions p x n
Cv   - matrix from (2) with dimensions p x n
D    - matrix from (2) with dimensions p x m
sys  - structure, containing the standard system's matrices

Entry
Meaning
M
matrix from (1) with dimensions n x n
E
matrix from (1) with dimensions n x n
K
matrix from (1) with dimensions n x n
Bu
matrix from (1) with dimensions n x m
Cp
matrix from (2) with dimensions p x n
Cv
matrix from (2) with dimensions p x n
D
matrix from (2) with dimensions p x m

opts - structure, containing optional parameters

Output

sys      - structure, containing the second-order system's matrices

Entry
Meaning
M
matrix from (1) with dimensions n x n
E
matrix from (1) with dimensions n x n
K
matrix from (1) with dimensions n x n
Bu
matrix from (1) with dimensions n x m
Cp
matrix from (2) with dimensions p x n
Cv
matrix from (2) with dimensions p x n
D
matrix from (2) with dimensions p x m

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

See Also

ml_ct_ss_lti2struct | ml_ct_dss_lti2struct