Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Uneven Numeric Integration (Not in Base Package)

LabVIEW 8.5 Help
August 2007

NI Part Number:
371361D-01

»View Product Info

Performs numeric integration on the unevenly spaced values in the input array using the trapezoidal method.

Details  

X contains the data to be integrated, which you obtain by computing the integrand value at sampling points t0, t1, t2, …, where t0, t1, t2, … are the elements of T.
T contains the sampling points LabVIEW uses to compute X from the integrand. The sampling points can be spaced unevenly. T must be the same length as X.
result returns the numeric integral.
error returns any error or warning from the VI. You can wire error to the Error Cluster From Error Code VI to convert the error code or warning into an error cluster.

Uneven Numeric Integration Details

Before performing numeric integration, the VI reorders T in ascending order and reorders X to correspond to T. The VI then performs numeric integration using the following equation:

where n is the number of data points.


Resources


 

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