LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

[LabVIEW] Interpolation of 2D array with 1D xi

I have a set of data similar to the following example:

 

001    5    2,35    1,45

002    -5  2,21     1,68

 

Now I have a given value xi for the third column, say xi=2,30

As this value does not match an entry in my list I want to interpolate. But not only do I want to interpolate column 3 but also the adjacent columns 2 and 4 respectively. The output of this routine should be an array like

 

1,43    2,3    1,53

 

Is there a nice and easy way of handling this w/o using many loops and a ton of functions?

Thanks a lot! 

0 Kudos
Message 1 of 3
(4,085 Views)

Hi,

 

I don´t think there is a ready to use solution fo your problem in LabVIEW.

But can you please explain more clearly, by using indices, what you try to do?

 

regards

 

M. Brauner NIG

0 Kudos
Message 2 of 3
(4,056 Views)

There a two function on the array pallete that work together.

 

Threshold 1D array and Interpolate 1-D array.

 

Slice out (index array) the collumn/rows you will use, use the Threshold then pass the fractional index to the Interpolate.

 

"Lather rinse repeat" (do it in a For loop with an auto-indexing output tunnel).

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 3 of 3
(4,050 Views)