MATLAB: How to find maximum distance of convex polygon for each point in a convex hull

convex hull

matlab code to find the largest distance from each point in a convex hull

Best Answer

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()
Related Question