Effacer les filtres
Effacer les filtres

Find the angle between two points in 3D plot.

12 vues (au cours des 30 derniers jours)
Ali Raza
Ali Raza le 22 Août 2019
Commenté : Henry Ukwu le 17 Avr 2020
Untitled-1.png
How can we find the angle between two points in 3D plot along y-axis?

Réponse acceptée

Bruno Luong
Bruno Luong le 22 Août 2019
if the 3D (x-y-z) coordinates of your two points are P1 and P2, both are (3 x 1) or (1 x 3) vectors
angleradian = acos((P2(2)-P1(2)) / norm(P2-P1))
  4 commentaires
Ali Raza
Ali Raza le 22 Août 2019
Thank U very much, I got this.
Henry Ukwu
Henry Ukwu le 17 Avr 2020
can i get the angle between the two points in 3D space when projected on xy plane ?

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Graphics dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by