circle_fit (by Matrix inversion)

Really simple but robust circle fit
33 Downloads
Updated 17 Jun 2020

View License

much simpler circle fit method by using matrix inversion. We formulate the circle equation as follows:

x^2+y^2 = ay+bx+c

find a,b,c using matrix inversion to minimize RMSerror
xo = b/2
yo = a/2
r^2 = c+a^2/4+b^2/4

Cite As

soo-choon kang (2025). circle_fit (by Matrix inversion) (https://se.mathworks.com/matlabcentral/fileexchange/77022-circle_fit-by-matrix-inversion), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2020a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0