How to find the angle in MatLab
3 views (last 30 days)
Show older comments
Liam Crocker
on 9 Aug 2020
Commented: Liam Crocker
on 11 Aug 2020
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/343582/image.jpeg)
Thanks Liam
2 Comments
Proman
on 9 Aug 2020
Use atand(20/200) if it is in degree and if not, I go Alan Stevens. Multiply it by pi/180 and use atan(20/200)
Accepted Answer
Alan Stevens
on 9 Aug 2020
atan(200/20) works perfectly well in Matlab. Note that the result is in radians. If you want the angle in degrees then multiply Matlab's angle by 180/pi.
More Answers (0)
See Also
Categories
Find more on Matrix Indexing 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!