Example Program Drafts

Showing results for 
Search instead for 
Did you mean: 

Using the Interpolate 1D Array Function With an Array of Clusters

by Leah-L on ‎11-16-2012 09:58 AM

This example shows how to use the Interpolate 1D Array Function by building a 1D array of x,y points. Once you have a 1D array of clusters, you can input this array into the array of numbers or points input of the Interpolate 1D Array function. From here, the user can specify what value of x they would like to recieve corresponding y value for. The Interpolate 1D Array function will output the interpolated value.

interpolate 1D array.png

Comments
altenbach
N/A
  • You need to initialize the shift register, else the array will grow without bounds when run repetitively.
  • There is actually no need to use a shift register or display the table with every iteration of the loop. All that needs to be inside the loop is the bundle, autoindexing at the right loop boundary.
  • Instead of the loop, you can also use "index and bundle cluster array" (see here).