Ellipsoid Fitting

Version (1.17 KB) by Q LI
Two matlab files to demonstrate how to fit an ellipsoid directly to a set of 3D points.
Updated 20 Mar 2009

No License

The code implemented a special case of the ellipsoid fitting technique proposed in the paper Least Squares Ellipsoid Specific Fitting, corresponding to case k= 4. Just put the two files in the same directory and run "testFit4". You can change the noise level to observe the fitting accuracy and efficiency of the algorithm. It works well when the underlying shape characterized by the data points is quite spherical. However, if this is not the case, some modification is required. For the technical detail of the fitting method, please refer to the above mentioned paper, which can be found from the following webpage:

Cite As

Q LI (2024). Ellipsoid Fitting (https://www.mathworks.com/matlabcentral/fileexchange/23377-ellipsoid-fitting), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R13
Compatible with any release
Platform Compatibility
Windows macOS Linux
Find more on Earth, Ocean, and Atmospheric Sciences in Help Center and MATLAB Answers

Inspired: RADIOMICS, hyperellipsoidfit

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes