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?
조회 수: 140 (최근 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!