Ellipsoid fit

Version 1.3.0.0 (4,01 KB) von Yury
Fits an ellipsoid / sphere / paraboloid / hyperboloid to data using linear least squares.
14,6K Downloads
Aktualisiert 4 Dez 2015

Lizenz anzeigen

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).

Zitieren als

Yury (2024). Ellipsoid fit (https://www.mathworks.com/matlabcentral/fileexchange/24693-ellipsoid-fit), MATLAB Central File Exchange. Abgerufen .

Kompatibilität der MATLAB-Version
Erstellt mit R2015b
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Kategorien
Mehr zu Least Squares finden Sie in Help Center und MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Veröffentlicht Versionshinweise
1.3.0.0

Updated the function to give correct radii and chi2 when fitting other conics beside ellipsoids.
Indicated that the code fits surfaces, not volumes.

1.2.0.0

Fixed instability arising for data points near zero.
Added equal radii constraints for an ellipsoid of an arbitrary orientation.

1.1.0.0

Just a better description.

1.0.0.0