Filter löschen
Filter löschen

Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

Which method is best to fit a 3D surface with a given constrain equation?

1 Ansicht (letzte 30 Tage)
Jorge Mira Pérez
Jorge Mira Pérez am 26 Mär. 2018
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
Hello all!
I need to fit some 3D data to an ellipsoid. This surface can be arbitrarily oriented, so it will be given by the equation
a11*x^2 + a12*x*y + a13*x*z + a10*x + a22*y^2 + a23*y*z + a20*y + a33*z^2 + a30*z + a00 = 0.
I have solved the problem by using the pseudo-inverse function, which pretty straightforward there is the possibility that the best fitting surface isn't an ellipsoid, which, for this project can't happen. In other words, I have to force the fit to be an ellipsoid, which can be done by
det(A)>0.
Where A is the matrix associated to the quadric (quadratic terms). In essence, its a fully defined expression in terms of the fitting parameters (aij).
Thanks in advance, Jorge.

Antworten (0)

Diese Frage ist geschlossen.

Community Treasure Hunt

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

Start Hunting!

Translated by