Skip to content

hilb

special-matrix · scripts/special-matrix/hilb.m

: H = hilb (n)

Return the n-by-n Hilbert matrix with entries 1/(i+j-1).

The result is single precision for single input and double otherwise.