Code covered by the BSD License  

Highlights from
Ellipsoid fit

5.0

5.0 | 2 ratings Rate this file 52 Downloads (last 30 days) File Size: 3.69 KB File ID: #24693
image thumbnail

Ellipsoid fit

by Yury Petrov

 

10 Jul 2009 (Updated 17 Jul 2009)

Fits an ellipsoid to data using linear least squares.

| Watch this File

File Information
Description

Fits an ellipsoid into a 3D set of points, 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).

MATLAB release MATLAB 7.7 (R2008b)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (4)
21 Jun 2011 Hui Ma

I am sorry, I meant how do you determine three rotation angles using "evecs" then?

21 Jun 2011 Hui Ma

I have a question: we can find the center, the radii of the ellipsoid and also the 3*3 direction matrix "evecs" using this program. Then how do you determine the three rotation angles using "evecs"?
Thanks for your help!

09 Sep 2011 Kevin Shaw

Works great.

10 Feb 2012 Simone

Working very good

Please login to add a comment or rating.
Updates
17 Jul 2009

Just a better description.

Tag Activity for this File
Tag Applied By Date/Time
ellipsoid Yury Petrov 13 Jul 2009 10:38:29
least squares Yury Petrov 13 Jul 2009 10:38:29
optimization Yury Petrov 13 Jul 2009 10:38:29
fitting Yury Petrov 13 Jul 2009 10:38:29
self_rating Matt Fig 17 Jul 2009 23:44:39
ellipsoid Anatoly Fabrikant 06 Oct 2010 11:53:48
ellipsoid Wanjung Lin 04 Jan 2011 05:56:42
fitting Matt 25 Apr 2011 17:08:38
ellipsoid Ole Buus 02 Jul 2011 15:50:38
ellipsoid ***Marco*** 28 Dec 2011 11:58:54

Contact us at files@mathworks.com