FUNCTION REFERENCE
qz
Generalized Schur (QZ) factorization.
Generalized Schur (QZ) factorization.
Syntax
[AA, BB, Q, Z] = qz(A, B)Syntax
[AA, BB, Q, Z, V, W] = qz(A, B, flag)Q*A*Z = AA and Q*B*Z = BB with AA, BB upper triangular (quasi-triangular for flag 'real'). flag is 'complex' (default) or 'real'. V and W hold the right and left generalized eigenvectors.
Example
[AA, BB] = qz([1 2; 3 4], eye(2)); x = diag(AA)' % [-0.3723 5.3723]Differences from MATLAB: Some results differ in the last printed digit.
These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.