Table Of Contents

Polynomial Interpolation (G Dataflow)

Version:
    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.

    connector_pane_image
    datatype_icon

    Y

    Dependent values.

    datatype_icon

    X

    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.

    datatype_icon

    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.

    datatype_icon

    error in

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

    Default: No error

    datatype_icon

    interpolation value

    Interpolation of the function f at the point you specified.

    datatype_icon

    interpolation error

    An estimate of the error in the interpolation.

    datatype_icon

    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