Ellipsoid fit

Fits an ellipsoid / sphere / paraboloid / hyperboloid to data using linear least squares.

Vous suivez désormais cette soumission

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

Citation pour cette source

Yury (2026). Ellipsoid fit (https://fr.mathworks.com/matlabcentral/fileexchange/24693-ellipsoid-fit), MATLAB Central File Exchange. Extrait(e) le .

Informations générales

Compatibilité avec les versions de MATLAB

  • Compatible avec toutes les versions

Plateformes compatibles

  • Windows
  • macOS
  • Linux
Version Publié le Notes de version Action
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