from the conic equation

2 ビュー (過去 30 日間)
Sebahattin Bektas
Sebahattin Bektas 2014 年 7 月 15 日
コメント済み: Rena Berman 2023 年 9 月 11 日
given an equation
A*x^2+B*y^2+C*z^2+ D*x*y + D*x*z + F*y*z -1=0
how do I extract the center [x0,y0,z0], the axes lengths [a,b,c], and the rotation angles [ex,ey,ez] of the ellipsoid that it describes....
  2 件のコメント
Matt J
Matt J 2014 年 7 月 17 日
Not sure why you edited your original question. This version is much less clear. The original question was, given an equation
A*x^2+B*y^2+C*z^2+ D*x*y + D*x*z + F*y*z -1=0
how do I extract the center [x0,y0,z0], the axes lengths [a,b,c], and the rotation angles [ex,ey,ez] of the ellipsoid that it describes.
Rena Berman
Rena Berman 2023 年 9 月 11 日
(Answers Dev) Restored edit.

サインインしてコメントする。

採用された回答

Matt J
Matt J 2014 年 7 月 15 日
編集済み: Matt J 2014 年 7 月 15 日
Rewrite in matrix form
[x-x0,y-y0,z-z0]*Q*([x-x0;y-y0;z-z0])=1
where Q=[A,D,E;D,B,F;E,F,C]. The eigen-decomposition of Q will be
Q=R*diag(1./[a,b,c])*R.'
where columns of the rotation matrix R are the axes of the ellipsoid. You will have to choose between one of many possible decompositions of R into Euler angles [ex,ey,ez]

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeGeometric Transformation and Image Registration についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by