compreal
说明
returns the realization of the model csys = compreal(sys,type)sys depending on type. Specify type as "c" for controllable companion form or "o" for observable companion form.
"c"— Computes the controllable companion realization for a single-input LTI modelsys. This is the same as the first syntax."o"— Computes the observable companion realization for a single-output LTI modelsys.
示例
输入参数
Output Arguments
提示
Computing companion realizations often involves ill-conditioned transformations and loss of accuracy. Use modalreal or balreal as numerically stable alternatives.
版本历史记录
在 R2023b 中推出
