wilkinson

Wilkinson's eigenvalue test matrix

Syntax

  • W = wilkinson(n)

  • W = wilkinson(n, classname)

Input argument

  • n - scalar integer value: order.

  • classname - row character vector or scalar string: class name desired ('double' by default).

Output argument

  • W - Wilkinson's eigenvalue test matrix.

Description

W = wilkinson(n) returns the wilkinson Matrix of order n.

Bibliography

https://en.wikipedia.org/wiki/Wilkinson_matrix

Example

W = wilkinson(4)

See also

diag.

History

Author

Allan CORNET

Last updated