Best fit 3D circle to a set of points

Best fit 3D circle to a set of points
1.2K Downloads
Updated 8 Feb 2016

View License

This function takes a set of points in R3 and calculates the best fit circle. It uses the circfit for 2d circle data in XY plane as implemented in [Izhak bucher 25/oct /1991] and available on FEX @:
http://www.mathworks.com/matlabcentral/fileexchange/5557-circle-fit/content/circfit.m
Also inlcuded is my rendition of Rodrigues rotation but other implementations are available on FEX which you can substitute if you wish.

Cite As

Sam Murthy (2024). Best fit 3D circle to a set of points (https://www.mathworks.com/matlabcentral/fileexchange/55304-best-fit-3d-circle-to-a-set-of-points), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2014b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Interpolation in Help Center and MATLAB Answers
Acknowledgements

Inspired by: Circle fit

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0