hilb {matlab} | R Documentation |
MATLAB hilb function
Description
Create a Hilbert matrix.
Usage
hilb(n)
Arguments
n |
numeric scalar specifying dimensions for the result |
Details
The Hilbert matrix is a notable example of a poorly conditioned matrix. Its elements are
H[i, j] = 1 / (i + j - 1)
.
Value
Returns an n
-by-n
matrix constructed as described above.
Author(s)
H. Borchers hwborchers@googlemail.com, P. Roebuck proebuck1701@gmail.com
Examples
hilb(3)
[Package matlab version 1.0.4.1 Index]