Jump to content

Interpolate 1D Array function: Difference between revisions

From LabVIEW Wiki
Add new page (stub)
 
mNo edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{stub}}
[[File:Interpolate 1D Array - Terminals.png|thumb|Interpolate 1D Array function]]
[[File:Interpolate 1D Array - Terminals.png|thumb|Interpolate 1D Array function]]


{{LabVIEW Palette Object Information|palette=Functions Palette/Programming/Array{{!}}Array palette|type=function}}
{{LabVIEW Palette Object Information|palette=Functions Palette/Programming/Array{{!}}Array palette|type=function|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.
{{TOCright}}
== Usage ==
== 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.


== Best practice ==
[[File: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).
 
[[File:Interpolate 1D Array - Outside Array Boundary.png]]


== History ==
== History ==
{{ambox|text=History information is needed.  What changes have occurred over previous versions?}}
{| class="wikitable"
! Version
! Change(s)
|-
|[[File:LV2018.png|frameless|border|64x64px|LabVIEW 2018|link=LabVIEW 2018]]
|More info to come.
|}
== See Also ==
{{ambox|text=Add links to internal wiki pages that would also help.}}


== See also ==
== External Links ==
 
{{ambox|text=Add links to external resources that would also help.}}
== External links ==


[[Category:Array Palette]]
[[Category:Array Palette]]

Latest revision as of 12:43, 29 June 2020

Interpolate 1D Array function
Object information
Owning palette(s) Array palette
Type Function
Requires Basic Development Environment
Icon

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.

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

History

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

See Also

External Links