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

1 visualización (últimos 30 días)
Ophion Dragon
Ophion Dragon el 15 de Sept. de 2015
Respondida: Walter Roberson el 15 de Sept. de 2015
Trying to get an answer of 147 degrees but the program always returns 33 degrees (within the range).

Respuestas (1)

Walter Roberson
Walter Roberson el 15 de Sept. de 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.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by