I have two 3D vectors representing trajectories in 3 dimensions of two points. For each time point I want to plot an ellipsoid where its major axis lies between those 2 points.

댓글 수: 4

Catalytic
Catalytic 2019년 3월 28일
편집: Catalytic 2019년 3월 28일
An ellipse is a two-dimensional thing. How can its major axis run between 3D points? And what defines the other parameters of the ellipse, like the minor axis length?
Salvatore Lacava
Salvatore Lacava 2019년 3월 28일
Sorry, ellipsoid*. the minor axis length it's hand picked
Matt J
Matt J 2019년 3월 28일
편집: Matt J 2019년 3월 28일
If it's an ellipsoid, then it has 2 minor axis lengths. Will these both the same? If not, how are the minor axes orientations defined? It would be best if you just describe the complete input to the plot.
Salvatore Lacava
Salvatore Lacava 2019년 3월 28일
So the general purpose is to fit an ellipsoid to approximate the shape of a sample I am recording from. I will do that by handpicking the lenght of all the axis at the beginning of the time series, those measures will be constant throught the time series. Regarding the orientation of the minor axis, that is determined by another 3D point that with the other two points determines a plance on which the the major and one minor axis lie on. The other minor axis is perpendicular to this plane.

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

답변 (1개)

KSSV
KSSV 2019년 3월 28일

0 개 추천

댓글 수: 2

Salvatore Lacava
Salvatore Lacava 2019년 3월 28일
The link you posted is for a 2D shape. While i want to plot an ellipsoid
KSSV
KSSV 2019년 3월 28일
Have a look on sphere function in matlab.

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

카테고리

질문:

2019년 3월 28일

댓글:

2019년 3월 28일

Community Treasure Hunt

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

Start Hunting!

Translated by