FUNCTION REFERENCE

ordschur

Reorder eigenvalues in a Schur factorization.

Reorder eigenvalues in a Schur factorization.

Syntax

[US, TS] = ordschur(U, T, select)

Syntax

[US, TS] = ordschur(U, T, keyword)

Syntax

[US, TS] = ordschur(U, T, clusters)

Moves the selected eigenvalues to the leading block. keyword is 'lhp', 'rhp', 'udi' or 'udo'; clusters gives a cluster index per eigenvalue (higher first).

Example

[U, T] = schur([1 2; 0 3]); [US, TS] = ordschur(U, T, [0 1]); x = diag(TS)'   % [3 1]

Differences from MATLAB: Results depend on schur, whose output can differ from MATLAB's in sign or the last digit.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.