functionreorderRSF
Reorder a real Schur factorization according to a given pattern of the eigenvalues
Extends from Modelica.Icons.Function (Icon for functions).
Information
Syntax
(To, Qo, wr, wi) = Matrices.Internal.reorderRSF(iscontinuous, T, Q, alphaReal, alphaImag)
Description
Reorder real Schur form used for pole assignment design for continuous or discrete systems.
For a continuous system (iscontinuous = true), those eigenvalues
of A will not be modified by the eigenvalue assignment algorithm which real part is negative.
For a discrete system (iscontinuous = false), eigenvalues of moduli less
then one will not be modified.
See also
reorderRSFc for continuous systems or reorderRSFd for discrete systems.
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Boolean | iscontinuous | ||
| Real[:,:] | T | Upper quasi-triangular matrix in Schur canonical form | |
| Real[:,size(T, 2)] | Q | Matrix of Schur vectors | |
| Real[size(T, 1)] | alphaReal | Real part of eigenvalue = alphaReal + i*alphaImag | |
| Real[size(T, 1)] | alphaImag | Imaginary part of eigenvalue = alphaReal + i*alphaImag |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Real[size(T, 1),size(T, 2)] | To | Reordered Schur form | |
| Real[size(T, 1),size(T, 2)] | Qo | Reordered Schur vectors | |
| Real[size(T, 2)] | wr | Reordered eigenvalues, real part | |
| Real[size(T, 2)] | wi | Reordered eigenvalues, imaginary part |