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

3 vues (au cours des 30 derniers jours)
Ophion Dragon
Ophion Dragon le 15 Sep 2015
Trying to get an answer of 147 degrees but the program always returns 33 degrees (within the range).

Réponses (1)

Walter Roberson
Walter Roberson le 15 Sep 2015
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