h = hilb(n)
h = hilb(n, className)
| Parameter | Description |
|---|---|
| n | a scalar, nonnegative integer. |
| className | 'single' or 'double' (default). |
| Parameter | Description |
|---|---|
| h | Hilbert matrix. |
hilb computes the Hilbert matrix.
h = hilb(5)
| Version | Description |
|---|---|
| 1.0.0 | initial version |