Question: How to fit a circle to a set of points?

Hello everyone!

I have a question that I can't seem to find a straight answer to. I need to fit a circle to a collection of points that a circular in nature. I was trying to use the following elliptical least squares fit, but I can't determine what I should be minimizing.

Here's the page:


For an ellipse, I used the general conic:


I minimize using:



What would I use for a circle? Or is there a better way for a circle?

Please Wait...