Create the smallest polygon enclosing set of points
9 views (last 30 days)
Show older comments
Daniel Turon
on 10 Jun 2022
Commented: Daniel Turon
on 10 Jun 2022
I have a list of x and y points from which Im wanting to create a polygon that encloses. The issue falls in that many of the points will be points lying in the middle of the polygon rather than the edges. And so the following code..
P = [convVertX(:),convVertY(:)];
k = polyshape(P);
plot(k)
gives

0 Comments
Accepted Answer
More Answers (0)
See Also
Categories
Find more on Elementary Polygons in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!