Preference of outputting sine function
Mostra commenti meno recenti
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 Commenti
Matt J
il 25 Dic 2020
Isn't 2*sin(0.0349*theta) equivalent to 2*sind(2*theta)? I don't see the problem.
Ahmad Madkhanah
il 25 Dic 2020
Matt J
il 25 Dic 2020
Is it just an aesthetic preference? What would be the practical benefit of having things expressed in terms of sind?
Ahmad Madkhanah
il 25 Dic 2020
Ahmad Madkhanah
il 25 Dic 2020
Risposte (0)
Categorie
Scopri di più su Lengths and Angles in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!