How to find the angle in MatLab
3 次查看(过去 30 天)
显示 更早的评论
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/343582/image.jpeg)
Thanks Liam
2 个评论
Proman
2020-8-9
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)
采纳的回答
Alan Stevens
2020-8-9
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.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Matrix Indexing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!