# 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

```matlab
W = wilkinson(4)
```

## See also

[diag](../constructors_functions/diag).

## History

| Version | Description     |
| ------- | --------------- |
| 1.0.0   | initial version |

## Author

Allan CORNET
