4D Interpolation scattered Data
21 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Alexander Schwarzwälder
el 22 de Nov. de 2020
Comentada: Hau Trien
el 23 de Mayo de 2022
Hi,
I have a set of all Coordinate Points (x,y,z) of my irregular shaped geometry and I have a set of data (xc,yc,zc,C) with C = value of interest. I want now to determine for every x,y,z of my geometry the value C.
I tried using but the results are not what i want:
[XXCoor, YYCoor, ZZCoor]=meshgrid(xc, yc, zc)
Cm = griddata(xc,yc,zc,C,XXCoor,YYCoor,ZZCoor);
scatter3(XXCoor(:),YYCoor(:),ZZCoor(:),4,Cm(:),'filled');
for illustration here is one picture with the datapoints x,y,z and one picture of plot what I tried. Like you can see the geometry is a facemask and i want C only on the facemask and not in the inner volume.
Maybe you can help me
best regards , Alex
3 comentarios
Alexander Schwarzwälder
el 23 de Nov. de 2020
Editada: Alexander Schwarzwälder
el 23 de Nov. de 2020
Respuesta aceptada
Alexander Schwarzwälder
el 23 de Nov. de 2020
Editada: Alexander Schwarzwälder
el 23 de Nov. de 2020
2 comentarios
Hau Trien
el 23 de Mayo de 2022
I am doing the similar thing and just found your comment here. What are your px, py, pz in this case?
Más respuestas (1)
John D'Errico
el 23 de Nov. de 2020
Sorry, but you cannot use tools like griddata or scatteredInterpolant to interpolate non-single valued relations. It seems all you have are a set of scattered points from some general manifold embedded in R^3.
You probably need to work with the surface, perhaps as generated from a CRUST algorithm.
0 comentarios
Ver también
Categorías
Más información sobre Interpolation en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!