Angle between a vector and xy, xz, and yz planes
11 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Hi
I have a vector defined by P1. [12,14,78]
How can I caculate the angle this forms with the xy, xz an yz planes pls.
I can do with atan(x/y) etc, but this is problematic when the angle is over 90 or 180.
What would be the best approach pls
4 Commenti
Bruno Luong
il 24 Lug 2023
Modificato: Bruno Luong
il 24 Lug 2023
From your graph it looks to me the angles are between vector P and basis vectors and not the planes
Risposte (2)
Bruno Luong
il 24 Lug 2023
Modificato: Bruno Luong
il 24 Lug 2023
P1=[12,14,78]
xyzc=num2cell(eye(3),1)
[x,y,z]=deal(xyzc{:});
rad2deg(subspace(P1(:),[x y]))
rad2deg(subspace(P1(:),[x z]))
rad2deg(subspace(P1(:),[y z]))
0 Commenti
Vedere anche
Categorie
Scopri di più su Annotations 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!