This circle fit has been first published by P.Delogne and I.Kasa in the 1970s and is known as "Kasa method" in statistics. It works well when points cover a large part of the circle but is heavily biased when points are restricted to a small arc. Better fits were proposed by Pratt and Taubin.
08 Sep 2008
Works like a charm :-)
31 Jan 2008
04 Dec 2007
Works very well!
I don't really know how, but it works! :D
You saved me a bunch of hours there.
Thank you very much!
22 May 2007
Note: This code doesn't minimise the sum of squared radial deviations - that is a nonlinear least squares problem
This code minimises sum((x.^2 + y.^2 - R^2).^2)
10 Dec 2006
Just... Excellent.. thanks.
29 Sep 2006
I found it to be very effective.
21 Feb 2006
Re: Hedi Kawano
20 Feb 2006
High-quality code, simple and effective
21 Nov 2005
Very useful if you need to fit measured points to the circle function and compare it further to reference value.
14 Mar 2005
Sorry, it is
(last "t" was missing)
14 Mar 2005
http://www.math.niu.edu/~rusin/known-math/99/circlefi tells you that the equation used in this "circle_fit.m" gives an approximate solution.
22 Dec 2004
Knut C. Naue
Nice tool for data covering almost a complete circle. But if data exists describing only an arc, circfit fails identifying the assumed center and radius.
05 Nov 2004
I have used this function to verify a feature in a Metrology software giving correctly first 4 digits, so it seems OK
25 Sep 2004
It can be extremely useful. For example, trying to fit a nyquist plot to an experimentally acquired FRFs... Ideally, nyquist plot is supposed to be a circle, but is not due 'noise'
18 Aug 2004
Can someone please enlighten me where one meets such distributions to be fitted by a circle ?