How can I get values outside of -90,90 degrees range when using asin?

조회 수: 3 (최근 30일)
Ophion Dragon
Ophion Dragon 2015년 9월 15일
답변: Walter Roberson 2015년 9월 15일
Trying to get an answer of 147 degrees but the program always returns 33 degrees (within the range).

답변 (1개)

Walter Roberson
Walter Roberson 2015년 9월 15일
If you know you are in that quadrant then use (180 - asind(x))
If you do not know which quadrant then you need to know the sign() of the opposite and the radius in order to calculate the quadrant.

태그

Community Treasure Hunt

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

Start Hunting!

Translated by