What does cart2sph compute az,el,r or theta,phi,r
6 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
William Blanch
am 18 Feb. 2025
Bearbeitet: David Goodmanson
am 20 Feb. 2025
I'm guessing it is the former but I wanted to be sure.
0 Kommentare
Akzeptierte Antwort
David Goodmanson
am 18 Feb. 2025
Bearbeitet: David Goodmanson
am 20 Feb. 2025
Hi William,
it's az and el.
[a b r] = cart2sph(0,1,0)
a = 1.5708
b = 0 % elevation
r = 1
[a b r] = cart2sph(0,0,1)
a = 0
b = 1.5708 % elevation
r = 1
I see elevation as an unfortunate choice compared to measuring angle down from the z axis, but it is what it is.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Antennas, Microphones, and Sonar Transducers finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!