Owning Palette: Integration & Differentiation VIs
Requires: Full Development System
Performs numeric integration on the unevenly spaced values in the input array using the trapezoidal method.
Add to the block diagram | Find on the palette |
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. |
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.