class="resources" Spline Interpolation (Not in Base Package) - LabVIEW 7.1 Help - Support - National Instruments
Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Spline Interpolation (Not in Base Package)

Returns a spline interpolated value at x value given the tabulated values (x[i], y[i]) and the second derivatives Interpolant that the VI obtains from the Spline Interpolant VI. Details  Example

Y is the array of tabulated values of the dependent variable.
X is the array of tabulated values of the independent variable.
Interpolant is the second derivative of the cubic spline interpolating function. You can obtain Interpolant from the Spline Interpolant VI. The number of elements in the three input arrays X, Y, and Interpolant should be the same. Otherwise, the VI sets the output interpolation value to NaN and returns an error.
x value should be in the range of X values.
interpolation value is the cubic spline interpolation of f at x value.
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.

Spline Interpolation Details

The points are formed by the input arrays X and Y.

On the interval [xi, xi + 1], the following equation defines the output interpolation value y.

y = Ayi + Byi + 1 + Cy"i + Dy"i + 1

where

Example

Refer to the Interpolation Solver VI in the labview\examples\analysis\intpxmpl.llb directory for an example of using the Spline Interpolation VI.

 


Resources


 

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