Circle Fit (Pratt method)

Fits a circle to a set of data points on a plane; returns the circle center (a,b) and radius R.

You are now following this Submission

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://uk.mathworks.com/matlabcentral/fileexchange/22643-circle-fit-pratt-method), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired by: Circle fit

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0