powered by
Create a Hilbert matrix.
hilb(n)
Returns an n-by-n matrix constructed as described above.
n
numeric scalar specifying dimensions for the result
H. Borchers hwborchers@googlemail.com, P. Roebuck proebuck1701@gmail.com
The Hilbert matrix is a notable example of a poorly conditioned matrix. Its elements are
H[i, j] = 1 / (i + j - 1)
.
hilb(3)
Run the code above in your browser using DataLab