angle output vs. atan2 output
15 views (last 30 days)
Show older comments
Is atan2(Y,X) exactly the same as angle(X+1i*Y)?
0 Comments
Accepted Answer
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
More Answers (0)
See Also
Categories
Find more on Array Geometries and Analysis in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!