Spline Interpolation PtByPt VI

Owning Palette: Interpolation PtByPt VIs

Requires: Full Development System

Performs a cubic spline interpolation of f at x, given a set of tabulated values.

This VI is similar to the Spline Interpolation VI.

Note  By default, reentrant execution is enabled in all Point By Point VIs.

Details  Example

 Add to the block diagram  Find on the palette
initialize, when TRUE, initializes the internal state of the VI.
y is an input data point.
x is an input data point.
x value is a single value. x value should fall within the range [x0, xn – 1].
Interpolant is the second derivative of the cubic spline interpolating function. The number of elements in Interpolant must equal sample length. Otherwise, the VI sets the output interpolation value to zero.
sample length is the length of each set of incoming data. The VI performs computation for each set of data. The default is 100. sample length must be greater than zero.
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 PtByPt Details

The set of given tabulated values of f at x is in the form of yi = f(xi) for i = 0, 1, …, n – 1. The given second derivatives is Interpolant, which the VI obtains from the Spline Interpolant PtByPt VI. The points are formed by the set of input data points specified by sample length, and n is the total number of points.

Example

Refer to the Spline Interpolation PtbyPt VI in the labview\examples\Signal Processing\Point by Point directory for an example of using the Spline Interpolation PtByPt VI.

 Open example  Find related examples