Interpolate 1D Array function

From LabVIEW Wiki
Jump to: navigation, search
Interpolate 1D Array function
Object information
Owning palette(s) Array palette
Type Function
Requires Basic Development Environment
Icon Interpolate 1D Array.png

The Interpolate 1D Array function takes a one-dimensional numeric array and a fractional index to linearly calculate a value between the elements before and after the specified fractional index.

Usage

Connect a one-dimensional array to the array of numbers or points input terminal and an index at fractional index or x. The return value will either be an element from the source array (if the index is an integer) or a value between the elements before and after the specified fractional index.

Interpolate 1D Array - Between Elements.png

If the specified index is out of range, the closest element is returned (first or last element of the array).

Interpolate 1D Array - Outside Array Boundary.png

History

Version Change(s)
LabVIEW 2018 More info to come.

See Also

External Links