ml_ss_lti2struct

Maps given input to a standard LTI system struct.

Contents

Syntax

[sys, opts, ioformat] = ml_ss_lti2struct(A, B, C, D)
[sys, opts, ioformat] = ml_ss_lti2struct(A, B, C, D, opts)
[sys, opts, ioformat] = ml_ss_lti2struct(sys)
[sys, opts, ioformat] = ml_ss_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

   x'(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

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

Output

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

See Also

ml_dss_lti2struct | ml_soss_lti2struct