Thanks for this wonderful submission. I had no idea Matlab could perform multiplication! For years I've been saving variables to spreadsheets, multiplying them in Excel, and then importing them back to Matlab. I shudder at the countless hours I've wasted when I could have just done this work in Matlab. Thanks again.
This seems equivalent to http://www.mathworks.com/matlabcentral/fileexchange/5557-circle-fit. Also, other algorithms are often more accurate when fitting data along only an arc (e.g., http://www.mathworks.com/matlabcentral/fileexchange/22643 ).
A good reference for fitting data to circles: "Least Squares Fitting of Circles" by N. Chernov and C. Lesort, Journal of Mathematical Imaging and Vision, Vol 23, 239-252 (2005). Nikolai Chernov has several good functions in the FEX for fitting to circles and ellipses.