Matlab function for least squares fitting of X-Y data to a circle
You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
Matlab function for least squares fitting of two-dimensional data to a circle.
circfit(X,Y) returns scalar radius R of a fitted circle. X and Y are 1-D arrays of position data in a rectilinear coordinate system. X and Y must be the same length and must contain at least three non-colinear points in order for a valid solution to be found. The function can also return position of the center of the fitted circle and the root mean squared error of the fit.
Additional functions to fit curvature, check colinearity, calculate root mean squared error, and plot the fitted result are included.
Cite As
Andrew Horchler (2026). circfit (https://github.com/horchler/circfit), GitHub. Retrieved .
General Information
- Version 1.3.0.0 (9.67 KB)
-
View License on GitHub
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
Versions that use the GitHub default branch cannot be downloaded
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.3.0.0 |
Added image
|
