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?
18 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
asin Inverse sine, result in radians.
sin Sine of argument in radians.
0 commentaires
Réponses (2)
David Young
le 3 Fév 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 commentaire
Steven Lord
le 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.
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!