Circle fitting using modified Coopes method

Version 1.0.0.0 (46.2 KB) by Daniel
Robust method for fitting a circle to data using Weighted Linear Least Squares.
987 Downloads
Updated 8 Mar 2013

View License

The included function 'ciclefit' estimates the radius and center of a circle represented by data-points.
This is achieved using a modified version of Coopes method(Coope, I. D.,Circle Fitting by Linear and Nonlinear Least Squares, 1993. http://link.springer.com/article/10.1007%2FBF00939613 ) which yields robust results comparable to the Total Least Squares approach while using only a (directly solvable) Linear Least Squares. It has been modified to use weights for the data points (thus using Weighted Linear Least Squares).

That modification has been added to enable a fast and robust estimate of the (causal) curvature of a given path.

Included is a quick demonstration (circfit_DEMO.m) that showcases general circle fitting and how to use that to estimate curvature.

Cite As

Daniel (2026). Circle fitting using modified Coopes method (https://www.mathworks.com/matlabcentral/fileexchange/40700-circle-fitting-using-modified-coopes-method), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2012b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Version Published Release Notes
1.0.0.0