03-31-2010 06:48 PM
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.
03-31-2010 07:31 PM