<< ind2sub Elementary functions ipermute >>

invhilb


Inverse of Hilbert matrix


Syntax


h = hilb(n)
h = hilb(n, className)

Input argument


n

a scalar, nonnegative integer.

className

'single' or 'double' (default).

Output argument


h

Hilbert matrix.

Description


hilb computes the Hilbert matrix.

Bibliography


https://en.wikipedia.org/wiki/David_Hilbert, and Thanks to https://nhigham.com/2020/06/30/what-is-the-hilbert-matrix/

Example


h = hilb(5)

See also


invhilb.

History


Version Description
1.0.0 initial version

Author


Allan CORNET

<< ind2sub Elementary functions ipermute >>