What does cart2sph compute az,el,r or theta,phi,r

조회 수: 9 (최근 30일)
William Blanch
William Blanch 2025년 2월 18일
편집: David Goodmanson 2025년 2월 20일
I've seen both in the function syntaxes. az,el,r theta,phi,r
I'm guessing it is the former but I wanted to be sure.

채택된 답변

David Goodmanson
David Goodmanson 2025년 2월 18일
편집: David Goodmanson 2025년 2월 20일
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.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Antennas, Microphones, and Sonar Transducers에 대해 자세히 알아보기

제품


릴리스

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by