qz
- :
AA =qz(A, B)¶ - :
[AA, BB, Q, Z, V, W] =qz(A, B, opt)¶ Generalized Schur (QZ) factorization of the matrix pair A, B.
AA and BB are upper triangular and Q, Z unitary with
Q*A*Z = AAandQ*B*Z = BB; the generalized eigenvalues arediag (AA) ./ diag (BB). V and W are the right and left generalized eigenvectors.opt is
"complex"(default; complex triangular factors even for real input) or"real"(real input only; AA is then quasi-triangular with 2-by-2 blocks for complex conjugate pairs).