Info
此问题已关闭。 请重新打开它进行编辑或回答。
Which method is best to fit a 3D surface with a given constrain equation?
1 次查看(过去 30 天)
显示 更早的评论
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.
0 个评论
回答(0 个)
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!