LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Surface interpolation

Hello,
I've got a set of 61 x, y and z values for each samplepoint. The x and y values represent the coordinates of 61 sensors above the human heart and are in concentric circles around 0/0. The z values are measured and represent the magnetic field at the respective coordinates. Now I have to interpolate z values for any x/y pair which is in the area of the sensor. Does anybody know, how I could interpolate these values or is there even a way to get this data from 3D surface graph?
Thanks in advance
Poppi
0 Kudos
Message 1 of 3
(2,932 Views)
Attached is a vi I found on the web sometimes ago. If I remember well, it finds the nearest points forming a triangle around the xy coordimates and does a linear interpolation in this triangle. Not very rapid, but works if there are not too many points, as in your case. A more sophisticated method could be to located the nearest neighbours, and then to do a 3D polynomial fit. There is an example vi in the developper zone here

Forget about the 3D surface graph 😞
Chilly Charly    (aka CC)
0 Kudos
Message 2 of 3
(2,915 Views)
Thanks for your quick reply, I will try the 3d polynomial fit later.

Poppi
0 Kudos
Message 3 of 3
(2,906 Views)