How to Plot the smooth envelope of 3D scattered points

9 views (last 30 days)
fig.1For example, in this 3D scatter plot, how do I draw an envelope so that all the points are inside the surface?Thx!!!!!!!!

Answers (3)

Bjorn Gustavsson
Bjorn Gustavsson on 30 Mar 2022
Edited: Bjorn Gustavsson on 30 Mar 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 Comments
Bjorn Gustavsson
Bjorn Gustavsson on 30 Mar 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.

Sign in to comment.


KSSV
KSSV on 30 Mar 2022
Read about griddata and/or scatteredInterpolant.

Star Strider
Star Strider on 30 Mar 2022
See if the boundary function offers an improvement.
  5 Comments
Star Strider
Star Strider on 30 Mar 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.

Sign in to comment.

Categories

Find more on Propagation and Channel Models 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!