Effacer les filtres
Effacer les filtres

Plot ellipsoid between two points

5 vues (au cours des 30 derniers jours)
Salvatore Lacava
Salvatore Lacava le 28 Mar 2019
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 commentaires
Matt J
Matt J le 28 Mar 2019
Modifié(e) : Matt J le 28 Mar 2019
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 le 28 Mar 2019
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.

Connectez-vous pour commenter.

Réponses (1)

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

Connectez-vous pour commenter.

Community Treasure Hunt

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

Start Hunting!

Translated by