Skip to main content

interp

interp (x1, xwaveName, ywaveName)

The interp function returns a linearly interpolated value at the location x = x1 of a curve whose X components come from the Y values of xwaveName and whose y components come from the Y values of ywaveName.

Details

interp returns nonsense if the waves are complex or if xwaveName is not monotonic or if either wave contains NaNs.

The interp function is not multidimensional aware. See Multidimensional Waves, particularly Analysis on Multidimensional Waves for details.

Examples

See Also

Interpolate2

Loess, ImageInterpolate, Interpolate3D, Interp3DPath

interp2D, interp3D, contourZ