hilb: MATLAB hilb function

View source: R/hilb.R

hilbR 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)

matlab documentation built on July 1, 2024, 5:07 p.m.