Sphere Fit (least squared)

版本 1.1.0.0 (30.7 KB) 作者: Alan Jennings
Fits a sphere to a set of noisy data. Does not require a wide arc or many points.
7.1K 次下载
更新时间 2013/7/2

查看许可证

编者注: This file was selected as MATLAB Central Pick of the Week

Given a set of data points, this function calculates the center and radius of the data in a least squared sense. The least squared equations are used to reduce the matrix that is inverted to a 3x3, opposed to doing it directly on the data set. Does not require a large arc or many data points. Assumes points are not singular (co-planar) and real...
Created on R2010b, but should work on all versions.

引用格式

Alan Jennings (2024). Sphere Fit (least squared) (https://www.mathworks.com/matlabcentral/fileexchange/34129-sphere-fit-least-squared), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2010b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Least Squares 的更多信息

Community Treasure Hunt

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

Start Hunting!

sphereFit/

sphereFit/html/

版本 已发布 发行说明
1.1.0.0

Since the matrix A is symmetric, I changed the calculation to avoid superfluous calculations. Runs about 25% faster, and even better for large data sets.

1.0.0.0