Preference of outputting sine function
이전 댓글 표시
Hello, can anybody help me with this:
sympref('FloatingPointOutput',true);
syms theta
F=2*sind(2*theta)
--------------------------
F =
2*sin(0.0349*theta)
--------------------------
I want the sine function to be sine in degrees in the output, I don't want the program to automatically convert it to radians.. Can anyone help ?
Thanks !!
댓글 수: 5
Matt J
2020년 12월 25일
Isn't 2*sin(0.0349*theta) equivalent to 2*sind(2*theta)? I don't see the problem.
Ahmad Madkhanah
2020년 12월 25일
Matt J
2020년 12월 25일
Is it just an aesthetic preference? What would be the practical benefit of having things expressed in terms of sind?
Ahmad Madkhanah
2020년 12월 25일
Ahmad Madkhanah
2020년 12월 25일
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Lengths and Angles에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!