ml_soss_format_output
Converts a cell array of systems to another format.
Contents
Syntax
[M, E, K, Bu, Cp, Cv, D, info] = ml_soss_format_output(systems, 0) [sys, info] = ml_soss_format_output(systems, 1)
Description
This function takes an array of system-structs and returns cell arrays of the requested format. If only a single system is given no cell array is created and single element cell arrays in the info struct are unpacked.
Input
- systems - cell-array of structs containing the descriptor system's matrices
Entry | Meaning |
M | matrix with dimensions n x n |
E | matrix with dimensions n x n |
K | matrix with dimensions n x n |
Bu | matrix with dimensions n x m |
Cp | matrix with dimensions p x n |
Cv | matrix with dimensions p x n |
D | matrix with dimensions p x m |
- ioformat - integer, describing the output format. 0 - for input type matrices 1 - for input type struct
- info - struct, containing additional information.
Output
- M - cell array of matrices with dimensions n x n
- E - cell array of matrices with dimensions n x n
- K - cell array of matrices with dimensions n x n
- Bu - cell array of matrices with dimensions n x m
- Cp - cell array of matrices with dimensions p x n
- Cv - cell array of matrices with dimensions p x n
- Dr - cell array of matrices with dimensions p x m
- sys - cell array of structures, containing the second-order system's matrices
Entry | Meaning |
M | matrix with dimensions n x n |
E | matrix with dimensions n x n |
K | matrix with dimensions n x n |
Bu | matrix with dimensions n x m |
Cp | matrix with dimensions p x n |
Cv | matrix with dimensions p x n |
D | matrix with dimensions p x m |
- info - info struct with obsolete cell arrays unpacked
See Also