Owning Palette: Interpolation & Extrapolation VIs
Requires: Full Development System
Takes the piecewise polynomial x locations and a 2D array of coefficients and forms the piecewise polynomial cluster for the Evaluate Interpolating Polynomial VI to use.
Add to the block diagram | Find on the palette |
x locations are the x domain endpoint values of the piecewise interpolating polynomial. If x locations is of size N, the coefficients array should contain N–1 rows of polynomial coefficients. | |||||
coefficients is a 2D array of interpolating polynomial coefficients. Row i of coefficients should contain the coefficients for the interpolating polynomial between elements xi and xi+1 of x locations. | |||||
piecewise polynomial is a cluster that contains the x locations and coefficients of the piecewise interpolating polynomial.
| |||||
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. |
If x locations contains values x0, x1,…, xn–1, row i of the coefficients 2D array corresponds to the coefficients for the interpolating polynomial between xi and xi+1.