Table Of Contents

Polynomial Interpolation (G Dataflow)

    Last Modified: January 9, 2017

    Interpolates or extrapolates a function f at x given a set of n points (xi, yi), where f(xi) = yi, f is any function, and given a specific value.



    Dependent values.



    Independent values.

    If the number of elements in X is different from the number of elements in Y, this node sets interpolation value and interpolation error to NaN and returns an error.


    x value

    Point at which the interpolation or extrapolation is performed.

    If the value of x value is in the range of X, the node performs interpolation. Otherwise, the node performs extrapolation. If x value is too far from the range of X, the extrapolation error may be large. It is not a satisfactory extrapolation.


    error in

    Error conditions that occur before this node runs. The node responds to this input according to standard error behavior.

    Default: No error


    interpolation value

    Interpolation of the function f at the point you specified.


    interpolation error

    An estimate of the error in the interpolation.


    error out

    Error information. The node produces this output according to standard error behavior.

    Algorithm for Calculating the Interpolation Value

    This node calculates interpolation value P(x), where P is the unique polynomial of degree n - 1 that passes through the n points (xi, yi).

    Where This Node Can Run:

    Desktop OS: Windows

    FPGA: Not supported

    Recently Viewed Topics