I am using matlab 2013 version,does matlab works in radians or degrees and can i change from degrees to radians (or) radians to degrees in the settings?
206 次查看(过去 30 天)
显示 更早的评论
asin Inverse sine, result in radians.
sin Sine of argument in radians.
0 个评论
回答(2 个)
David Young
2015-2-3
To work in radians, use sin, cos, asin, acos etc.
To work in degrees, use sind, cosd, asind, acosd etc.
To convert from degrees to radians, multiply by pi/180.
To convert from radians to degrees, multiply by 180/pi.
Check the documentation for other functions that refer to angles, which may use degrees or radians.
1 个评论
Steven Lord
2020-3-26
As of release R2015b the deg2rad and rad2deg functions are included in MATLAB. Prior to that they were part of Mapping Toolbox.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Trigonometry 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!