MATLAB Answers

angle output vs. atan2 output

36 views (last 30 days)
David C
David C on 21 Feb 2015
Edited: Roger Stafford on 21 Feb 2015
Is atan2(Y,X) exactly the same as angle(X+1i*Y)?

  0 Comments

Sign in to comment.

Accepted Answer

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

  0 Comments

Sign in to comment.

More Answers (0)


Translated by