LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Bilinear Interpolation AND Extrapolation

I have a 2-dimensional dataset that requires interpolation between points, which I have gotten to work both with the built-in LabView Interpolate2D.vi and with my own custom VI.  However, I am looking to expand upon this function so that it can perform a bilinear extrapolation as well.  I was hoping that the built in VI would be able to accomplish this, but it isn't cooperating with me.  

 

Here is an example of a possible dataset that I am currently dealing with.

 

       30    50    70

55    1      2      3

75    4      5      6

95    7      8      9

 

The numbers in red are independent x-values, numbers in green are independent y-values, and the numbers in black are the dependent z-values.  Once again, interpolation is working great, but I can't seem to correctly perform a bilinear extrapolation, say for x=90, y=115, or for x=10, y=35.

 

Does anyone have any insight on whether or not the Interpolate2D.vi can be modified in order to accommodate this?  Perhaps I am using it incorrectly.  

 

Alternatively, a bilinear interpolation/extrapolation algorithm of any sort would be greatly appreciated.  

0 Kudos
Message 1 of 2
(5,580 Views)
Why did you create a duplicate post when you already got a response here?
0 Kudos
Message 2 of 2
(5,573 Views)