ordqz
Reorder eigenvalues in QZ factorization
Syntax
Description
[
reorders the QZ factorization AAS
,BBS
,QS
,ZS
] = ordqz(AA
,BB
,Q
,Z
,select
)Q*A*Z = AA
and Q*B*Z =
BB
produced by [AA,BB,Q,Z] = qz(A,B)
and returns
the reordered matrix pair (AAS,BBS)
along with orthogonal
matrices (QS,ZS)
, such that QS*A*ZS = AAS
and
QS*B*ZS = BBS
.
In this reordering, the selected cluster of eigenvalues appears in the leading
(upper left) diagonal blocks of the quasitriangular pair (AAS,BBS)
. The leading columns
of ZS
span the corresponding invariant subspace. The logical
vector select
specifies the selected cluster as
e(select)
, where e = ordeig(AA,BB)
.
Examples
Input Arguments
Output Arguments
More About
Tips
If
AA
has complex conjugate pairs (nonzero elements on the subdiagonal), then you should move the pair to the same cluster. Otherwise,ordqz
acts to keep the pair together:If
select
is not the same for two eigenvalues in a conjugate pair, thenordqz
treats both as selected.If
clusters
is not the same for two eigenvalues in a conjugate pair, thenordqz
treats both as part of the cluster with larger index.
References
[1] Kressner, Daniel. “Block Algorithms for Reordering Standard and Generalized Schur Forms.” ACM Transactions on Mathematical Software 32, no. 4 (December 2006): 521–532. https://doi.org/10.1145/1186785.1186787.
Extended Capabilities
Version History
Introduced before R2006a