How to Plot the smooth envelope of 3D scattered points

43 visualizaciones (últimos 30 días)
Rex Chiu
Rex Chiu el 30 de Mzo. de 2022
Comentada: Rex Chiu el 30 de Mzo. de 2022
fig.1For example, in this 3D scatter plot, how do I draw an envelope so that all the points are inside the surface?Thx!!!!!!!!

Respuestas (3)

Bjorn Gustavsson
Bjorn Gustavsson el 30 de Mzo. de 2022
Editada: Bjorn Gustavsson el 30 de Mzo. de 2022
You will get the tightest surface enclosing all points with the convhulln function. That will not be a smooth surface since it is composed of triangles between your points on a convex surface enclosing all the points. You might get a smoother surface using alpha-shape techniques, perhaps this FEX-submission: fast-alpha-hulls-alpha-shapes-in-3d-parfor-enabled.
HTH
  6 comentarios
Bjorn Gustavsson
Bjorn Gustavsson el 30 de Mzo. de 2022
@Rex Chiu: To my understanding of alpha-shapes the idea is that one sould be able to control how sharp curvature the surface would have by adjusting the alpha-parameter. If this tool doesn't work, maybe some of the other alpha-shape submissions on the file-exchange will.
Rex Chiu
Rex Chiu el 30 de Mzo. de 2022
Ah.i cannot found a good way,so far.

Iniciar sesión para comentar.


KSSV
KSSV el 30 de Mzo. de 2022
Read about griddata and/or scatteredInterpolant.

Star Strider
Star Strider el 30 de Mzo. de 2022
See if the boundary function offers an improvement.
  5 comentarios
Star Strider
Star Strider el 30 de Mzo. de 2022
O.K. That was my best shot!
I will explore another idea I have, and if it works, I will post it here. (It could take at least a few hours.) If it does not, I will delete my Answer here.
Rex Chiu
Rex Chiu el 30 de Mzo. de 2022
O.K. i hope to ur great idea!

Iniciar sesión para comentar.

Categorías

Más información sobre MATLAB en Help Center y File Exchange.

Productos

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by