LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

3D Interpolation Table

Hello!
Does anyone knows how to build a VI that that makes a intepolation from a 3D Table?
Thanks
0 Kudos
Message 1 of 6
(3,927 Views)
If what you have is an array of {X|Y|Z} coordinate bundles, then your task is easy:

If you want a coordinate 1/4 the way between this point and that point, you solve:
This + (That - This ) *0.25
That works without separating the components - it will even work on two whole arrays directly, if that's what you have.
Steve Bird
Culverson Software - Elegant software that is a pleasure to use.
Culverson.com


LinkedIn

Blog for (mostly LabVIEW) programmers: Tips And Tricks

0 Kudos
Message 2 of 6
(3,920 Views)
Could you clarify what your definition of a 3D table is?
 
A table is usually 2D array. Do you want to interpolate in 2D, e.g. get the value at fractional index pairs? In this case, easiest would be to make a bilinear interpolation as e.g. shown in one of my earlier posts .
0 Kudos
Message 3 of 6
(3,918 Views)
I use a 3D Table to build a 3D Graph. The idee is to find z point using x and y points. The interpolation is not liniar.
0 Kudos
Message 4 of 6
(3,902 Views)
The idee is to find z point using x and y points. The interpolation is not liniar.

Well, now I'm really confused.

You can't construct a Z point of a 3-D object based on an X and Y point.

Z is an independent axis, not a function of X and Y.

If you ask a better question, you'll get a better answer.

Steve Bird
Culverson Software - Elegant software that is a pleasure to use.
Culverson.com


LinkedIn

Blog for (mostly LabVIEW) programmers: Tips And Tricks

0 Kudos
Message 5 of 6
(3,897 Views)

I second Coastal's comments.

Take a good close look at the examples that Altenbach suggested.

As revealed in his bio found here

http://www.ni.com/devzone/lvzone/member_altenbach.htm

" I have completely rewritten the Levenberg marquardt routines to allow global fitting of multiple multidimensional data sets and runtime selection of fitting parameters. "

He does math like this for breakfast.

 

Ben

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