Interpolation of values on a three-dimensional surface represented by scattered points
Show older comments
I have got a matrix with scattered points (N x 3) representing a curved surface in three-dimensional space. Additionally there's vector (N x 1) with values (in this case these are surface temperatures) for each point from above.
My Problem: I'd like to interpolate the values on the three-dimensional surface on another set of scattered points which also represent the same surface in three-dimensional space.
I use MATLAB R2014b.
My Solutions so far:
Method 1:
Use scatteredInterpolant with 4 arguments
F = scatteredInterpolant(X, Y, Z, values)
and calculate the new values by using
values_new = F(X_new, Y_new, Z_new)
Method 2:
I've thought about the surface and came to the conclusion that for a surface in three-dimensional space the Z-coordinate is dependend on the X- and Y-coordinate, right?
Z = f(X,Y)
Therefore the dependency
value = f(X,Y,Z)
can be simplified to
value = f(X,Y)
This results in
F = scatteredInterpolant(X, Y, values)
and
values_new = F(X_new, Y_new)
Whats the mathematically correct solution for this problem?
I'really like to know which is the correct way to my interpolation problem. Maybe it's not even one of the methods I've presented.
Thanks in advance!
1 Comment
Ronak Patel
on 10 Feb 2016
Hey Hi.. I needed some help in interpolation of data. Basically I have 3D surface coordinates (x,y,z) let say it is around 20000 and from some of this points i have a voltage value (just for 400 points) So, I want to find the voltage value for remaining points. So what should i do?
Accepted Answer
More Answers (0)
Categories
Find more on Triangulations in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
