Owning Palette: Interpolation PtByPt VIs
Requires: Full Development System
Interpolates or extrapolates the function f at x.
This VI is similar to the Polynomial Interpolation VI.
Note By default, reentrant execution is enabled in all Point By Point VIs. |
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. | |
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. | |
x value specifies the point at which the VI performs interpolation or extrapolation. The VI retains a history of values used for x and y since the last reset. If x value is in the range of the history of x values, the VI performs interpolation. Otherwise, the VI performs extrapolation. If x value is too far from the range of the history of x values, the interpolation error may be large. | |
interpolation value is the interpolation of the function f at x value. | |
interpolation error is an estimate of the error in the interpolation. | |
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. |
The VI interpolates or extrapolates the function f at x, given a set of n points (xiyi), where f(xi) = yi, f is any function, and given a number, x.
The VI calculates output interpolation value Pn – 1(x), where Pn – 1 is the unique polynomial of degree n – 1 that passes through the n points (xiyi).