ordschur
- :
[UR, SR] =ordschur(U, S, select)¶ Reorder the eigenvalues of a Schur factorization.
U and S come from
schur, so thatA = U*S*U'. The result satisfiesA = UR*SR*UR'with the diagonal of SR rearranged according to select, a vector with one entry per diagonal position.select may be a logical or 0/1 vector, a cluster-number vector, or a keyword string:
'lhp'(left-half-plane, real part < 0),'rhp'(right-half-plane, real part > 0),'udi'or'udo'(outside unit disk, |lambda| > 1).[]behaves like'lhp'.