This code takes an input of a set of given (x,y) points in the Cartesian coordinates and returns the center and radius of the minimum circle enclosing the points. The code is not optimized and may have bugs, but for the many cases I tried it seems to work.
The code is written based on the very nice Java applet found here (link not working anymore): http://heyoka.cs.uiuc.edu/~thite/mincircle/
Credit for the code is to author of the applet.
引用格式
Yazan Ahed (2026). Minimum Enclosing Circle (https://ww2.mathworks.cn/matlabcentral/fileexchange/6457-minimum-enclosing-circle), MATLAB Central File Exchange. 检索时间: .
致谢
启发作品: Minimum Enclosing Circle, geom2d
