Ellipsoid fit
Fits an ellipsoid or other conic surface into a 3D set of points approximating such a surface, allows some constraints, like orientation constraint and equal radii constraint. E.g., you can use it to fit a rugby ball, or a sphere. 'help ellipsoid_fit' says it all. Returns both the algebraic description of the ellipsoid (the nine coefficients of the quadratic form) and the geometric description (center, radii, principal axes).
Cite As
Yury (2024). Ellipsoid fit (https://www.mathworks.com/matlabcentral/fileexchange/24693-ellipsoid-fit), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Acknowledgements
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
ellipsoid_fit/
Version | Published | Release Notes | |
---|---|---|---|
1.3.0.0 | Updated the function to give correct radii and chi2 when fitting other conics beside ellipsoids.
|
||
1.2.0.0 | Fixed instability arising for data points near zero.
|
||
1.1.0.0 | Just a better description. |
||
1.0.0.0 |