Return in degrees the atan result of inputs for all four quadrants.
Examples:
[x, y] Degrees 1 0 0 1 1 45 -1 1 135 -1 -1 -135 1 -1 -45 -1 0 -180 0 -1 -90
Input: [ x , y ]
Output: Angle : Degrees [ 0:180 ] ( -180:0 ) -180 is not a valid return value
Note: Input to atan2 is Y , X not X , Y
Matlab Whatsnew
R2012b Update Note
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers72
Suggested Problems
-
Arrange vector in ascending order
817 Solvers
-
Calculate the area of a triangle between three points
3417 Solvers
-
Generate a vector like 1,2,2,3,3,3,4,4,4,4
13615 Solvers
-
convert matrix to single column
434 Solvers
-
Check that number is whole number
5193 Solvers
More from this Author308
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!