ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

3D data interpolation

My data set consists of an irregularly spaced X-Y location table with very fine resolution in the vertical (Z) axis. I need to interpolate the data in the X and Y directions to make a smooth, usable plot.
Anyone out there done this in LV?
0 Kudos
Message 1 of 2
(3,025 Views)
Ah ! That's a nice challenge !!!

For a simple linear interpolation, the difficulty is to locate the best triangle surrounding the point where you want to interpolate the Z value. This is not a trivial problem, but some algorithms are quite efficient at that (one is used internally by the 3D graph).
If you have only a few X and Y (less than about 100, and homogeneously dispersed...), there is a nice vi, named "Tripolation.vi", written by Koji Ohashi. Not optimized, but enough for basic computations.
If you ever find a solution for large data sets, don't forget to tell me !

CC
Chilly Charly    (aka CC)
0 Kudos
Message 2 of 2
(3,019 Views)