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