Rdocumentation
powered by
Learn R Programming
matlab (version 0.8.9)
hilb: MATLAB hilb function
Description
Create a Hilbert matrix.
Usage
hilb(n)
Arguments
n
numeric scalar specifying dimensions for the result
Value
Returns an
n
-by-
n
matrix constructed as described above.
Details
The Hilbert matrix is a notable example of a poorly conditioned matrix. Its elements are H[i, j] = 1 / (i + j - 1).
Examples
Run this code
hilb(
3
)
Run the code above in your browser using
DataLab