compreal
Description
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 model- sys. This is the same as the first syntax.
- "o"— Computes the observable companion realization for a single-output LTI model- sys.
Examples
Input Arguments
Output Arguments
Tips
Computing companion realizations often involves ill-conditioned transformations and loss
      of accuracy. Use modalreal or balreal as numerically
      stable alternatives.
Version History
Introduced in R2023b
