Create the smallest polygon enclosing set of points
8 次查看(过去 30 天)
显示 更早的评论
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
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1028225/image.jpeg)
0 个评论
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Elementary Polygons 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!