How to Plot the smooth envelope of 3D scattered points
43 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
For example, in this 3D scatter plot, how do I draw an envelope so that all the points are inside the surface?Thx!!!!!!!!
0 comentarios
Respuestas (3)
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
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.
Star Strider
el 30 de Mzo. de 2022
5 comentarios
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.
Ver también
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!