Returns a spline interpolated value at x value given the tabulated values (x[i], y[i]) and the second derivatives Interpolant that the VI obtains from the Spline Interpolant VI.


icon

Inputs/Outputs

  • c1ddbl.png Y

    Y is the array of tabulated values of the dependent variable.

  • c1ddbl.png X

    X is the array of tabulated values of the independent variable.

  • c1ddbl.png Interpolant

    Interpolant is the second derivative of the cubic spline interpolating function. You can obtain Interpolant from the Spline Interpolant VI.

    The number of elements in the three input arrays X, Y, and Interpolant should be the same. Otherwise, the VI sets the output interpolation value to NaN and returns an error.

  • cdbl.png x value

    x value is a single value.

    x value should fall within the range [X0, Xn – 1].

  • idbl.png interpolation value

    interpolation value is the cubic spline interpolation of f at x value.

  • 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.

  • The points are formed by the input arrays X and Y.

    On the interval [xi, xi + 1], the following equation defines the output interpolation value y.

    y = Ayi + Byi + 1 + Cy"i + Dy"i + 1

    where

    Examples

    Refer to the following example files included with LabVIEW.

    • labview\examples\Mathematics\Interpolation\Interpolation Solver.vi