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?
199 views (last 30 days)
Show older comments
asin Inverse sine, result in radians.
sin Sine of argument in radians.
0 Comments
Answers (2)
David Young
on 3 Feb 2015
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 Comment
Steven Lord
on 26 Mar 2020
As of release R2015b the deg2rad and rad2deg functions are included in MATLAB. Prior to that they were part of Mapping Toolbox.
See Also
Categories
Find more on Trigonometry 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!