How do I draw an ellipsoid with given axes and radiuses

조회 수: 3 (최근 30일)
俊鹏 陈
俊鹏 陈 2022년 4월 21일
편집: Matt J 2022년 4월 21일
Take my date set:
V=[-0.8130 -0.0358 -0.5812;
0.5816 -0.0000 -0.8135;
-0.0291 0.9994 -0.0208];
The three columns of V represent the main axis.
D = [0.0002,0.0069,0.0079];
Each column of D corresponds to the main axis radius of V.
Given these conditions, how to draw the corresponding ellipse in 3d space?
Thank you very much for your answer. Any help will be appreciated!

채택된 답변

Matt J
Matt J 2022년 4월 21일
편집: Matt J 2022년 4월 21일
One option is to download this,
Then, it's just
V=[-0.8130 -0.0358 -0.5812;
0.5816 -0.0000 -0.8135;
-0.0291 0.9994 -0.0208];
D = [0.002,0.0069,0.0079]; %<---I changed this
gtEllip=ellipsoidalFit.groundtruth([],[0,0,0],D,[0,0,0]);
gtEllip.R=V;
plot(gtEllip);
view(25,10);
  댓글 수: 1
俊鹏 陈
俊鹏 陈 2022년 4월 21일
Thank you for your answer! Is a simple but effective method.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by