Polynomial Interpolation (Not in Base Package)

Interpolates or extrapolates the function f at x given a set of n points , where , f is any function, and given a number, x. Details

Y is the input sequence.
X If the number of elements in X is different from the number of elements in Y, the VI sets the output interpolation value and interpolation error to NaN and returns an error.
x If the value of x is in the range of X, the VI performs interpolation. Otherwise, the VI performs extrapolation. If the x value is too far from the range of X, the extrapolation error may be large. It is not a satisfactory extrapolation.
interpolation value is the interpolation of the function f at x.
interpolation error is an estimate of the error in the interpolation.
error returns any error or warning condition from the VI.

Polynomial Interpolation Details

The VI calculates output interpolation value , where is the unique polynomial of degree n–1 that passes through the n points .