Find the angle between two points in 3D plot.
16 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti

How can we find the angle between two points in 3D plot along y-axis?
0 Commenti
Risposta accettata
Bruno Luong
il 22 Ago 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 Commenti
Henry Ukwu
il 17 Apr 2020
can i get the angle between the two points in 3D space when projected on xy plane ?
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Surface and Mesh Plots in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!