confused with atan2d for negative number

3 views (last 30 days)
why is atan2d(-3,-1) is diffrent than atan2d(3,1)?
thank you

Accepted Answer

David Sanchez
David Sanchez on 26 Jun 2013
Because you measure the angle in a different quadrant. It's not the same -20 degrees than 20 degrees. Matlab documentation is very explicative, visit it for further details.

More Answers (0)


Find more on Environment and Settings in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!