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

采纳的回答

Walter Roberson
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()

更多回答(1 个)

Bruno Luong
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

类别

Help CenterFile Exchange 中查找有关 Bounding Regions 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by