Editor's Note: This file was selected as MATLAB Central Pick of the Week
Revival of a 14 years old code (written in 1991 for MATLAB 2.x).
Given a set of measured x,y pairs that a re supposed to reside on a circle, but with some added noise. A circle to these points, i.e. find xc,yc,R, such that (x-xc)^2+(y-yc)^2=R^2
The method minimizes the sum of squared radial deviations.
Cite As
Izhak Bucher (2026). Circle fit (https://www.mathworks.com/matlabcentral/fileexchange/5557-circle-fit), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Acknowledgements
Inspired: Ellipse Fit, Circle Fit (Kasa method), Circle Fit (Pratt method), Circle Fit (Taubin method), Aquiles, Fast Circle fitting using Landau method, DiffractIndex, Best fit 3D circle to a set of points
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
