angle output vs. atan2 output

8 visualizzazioni (ultimi 30 giorni)
David C
David C il 21 Feb 2015
Modificato: Roger Stafford il 21 Feb 2015
Is atan2(Y,X) exactly the same as angle(X+1i*Y)?

Risposta accettata

Roger Stafford
Roger Stafford il 21 Feb 2015
Modificato: Roger Stafford il 21 Feb 2015
Yes, they should be the same, provided that X and Y are real numbers or real arrays.

Più risposte (0)

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by