Preference of outputting sine function
Ältere Kommentare anzeigen
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 Kommentare
Matt J
am 25 Dez. 2020
Isn't 2*sin(0.0349*theta) equivalent to 2*sind(2*theta)? I don't see the problem.
Ahmad Madkhanah
am 25 Dez. 2020
Matt J
am 25 Dez. 2020
Is it just an aesthetic preference? What would be the practical benefit of having things expressed in terms of sind?
Ahmad Madkhanah
am 25 Dez. 2020
Ahmad Madkhanah
am 25 Dez. 2020
Antworten (0)
Kategorien
Mehr zu Lengths and Angles finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!