Interpolates or extrapolates the function f at x using a rational function.

The rational function passes through all the points formed by y and x. This VI is similar to the Rational Interpolation VI.

Note By default, reentrant execution is enabled in all Point By Point VIs.


icon

Inputs/Outputs

  • cbool.png initialize

    initialize, when TRUE, initializes the internal state of the VI.

  • cdbl.png y

    y is an input data point.

  • cdbl.png x

    x is an input data point.

  • ci32.png sample length

    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.

  • cdbl.png x value

    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.

  • idbl.png interpolation value

    interpolation value is the interpolation of the function f at x value.

  • idbl.png interpolation error

    interpolation error is an estimate of the error in the interpolation.

  • ii32.png error

    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.