image thumbnail

Best fit 3D circle to a set of points

version 1.0.0.0 (1.44 KB) by Sam Murthy
Best fit 3D circle to a set of points

933 Downloads

Updated 08 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 (2021). 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
Acknowledgements

Inspired by: Circle fit

Community Treasure Hunt

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

Start Hunting!