how to find maximum distance of convex polygon for each point in a convex hull?
4 次查看(过去 30 天)
显示 更早的评论
matlab code to find the largest distance from each point in a convex hull
0 个评论
采纳的回答
Walter Roberson
2017-10-31
boundary() to find the points that correspond to the convex hull. Use the indices returned to extract the points. pdist2() from each point you wish to test to each point on the hull. squareform() and max()
0 个评论
更多回答(1 个)
Bruno Luong
2019-1-2
This is a method that provides the maximum distance that has better complexity than computing distance of all pairs as other answer
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Bounding Regions 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!