max_inscribed_circl​e

Get the center and radius of the largest circle that inscribes the convex hull of a set of 2D coordinates

You are now following this Submission

Based on the algorithm suggested by "Image Analyst" here: https://www.mathworks.com/matlabcentral/answers/377838-please-how-can-i-find-the-center-and-the-radius-of-the-inscribed-circle-of-a-set-of-points

Find the convex hull of the given set of 2D coordinates using the "convhull" command. Then, find the maximal euclidean distance between all the points along the boundary of the convex hull which gives the radius of the largest inscribing circle.

Cite As

Rahul Warrier (2026). max_inscribed_circle (https://se.mathworks.com/matlabcentral/fileexchange/71995-max_inscribed_circle), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.2

Removed incorrect scaling factor. Note that if the resultant convex hull has a large aspect ratio then the algorithm is slow.

1.0.1

Added scaling factor to normalize the coordinates to take care of high aspect ratio convex hulls.

1.0.0