FUNCTION REFERENCE

wilkinson

Wilkinson's eigenvalue test matrix.

Wilkinson's eigenvalue test matrix.

Syntax

W = wilkinson(n)

Symmetric tridiagonal: ones beside the diagonal, abs(-(n-1)/2 : (n-1)/2) on it.

Example

wilkinson(5)   % [2 1 0 0 0; 1 1 1 0 0; 0 1 0 1 0; 0 0 1 1 1; 0 0 0 1 2]

Differences from MATLAB: none known.

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