Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

hilbertmx (MathScript RT Module Function)

LabVIEW 2012 MathScript RT Module Help

Edition Date: June 2012

Part Number: 373123C-01

»View Product Info
Download Help (Windows Only)

Owning Class: matrix

Requires: MathScript RT Module


c = hilbertmx(n)

Legacy Name: hilb


Generates a square Hilbert matrix whose (i, j)-th element is equal to 1/(i+j-1), where i is the row index number and j is the column index number. The Hilbert matrix is a famous example of a poorly conditioned matrix.



Name Description
n Specifies the size of the Hilbert matrix. n is a positive scalar integer.


Name Description
c Returns the Hilbert matrix of size n. c is a real, symmetric matrix.


The following table lists the support characteristics of this function.

Supported in the LabVIEW Run-Time Engine Yes
Supported on RT targets Yes
Suitable for bounded execution times on RT Not characterized


% Generate a 3-by-3 Hilbert matrix:
C = hilbertmx(3)
% Check the condition number of a large Hilbert matrix:
D = cond(hilbertmx(20))

Related Topics



Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit