Circle Fit (Pratt method)
Version 1.0.0.0 (2.18 KB) by
Nikolai Chernov
Fits a circle to a set of data points on a plane; returns the circle
center (a,b) and radius R.
Editor's Note: This file was selected as MATLAB Central Pick of the Week
This is a robust and accurate circle fit. It works well even if data
points are observed only within a small arc. This circle fit was proposed by V. Pratt in article "Direct least-squares fitting of algebraic surfaces", Computer Graphics, Vol. 21, pages 145-152 (1987). It is more stable than the simple Circle Fit by Kasa (file #5557).
Cite As
Nikolai Chernov (2026). Circle Fit (Pratt method) (https://in.mathworks.com/matlabcentral/fileexchange/22643-circle-fit-pratt-method), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R12
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Interpolation in Help Center and MATLAB Answers
Tags
Acknowledgements
Inspired by: Circle fit
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
