How can i plot a surface defined by scattered points within the convex hull of those points.

3 views (last 30 days)
How can i plot a surface defined by scattered points, within the convex hull of those points. The points define the surface of a blade and are the nodes of an fem-mesh. Using scatteredInterpolant creates a surface bigger than the cloud of points. Using delaunay causes wheird output.
I ve attached the code as an example.

Accepted Answer

Mike Garrity
Mike Garrity on 9 Jul 2015
In this particular case, it looks like you can project the surface down to 2D on either the Y=0 or X=0 planes. Then you can do the triangulation and go back up to 3D. That would look like so:
tri = delaunay(X,Z);
trisurf(tri,X,Y,Z)

More Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!