Preference of outputting sine function
Mostrar comentarios más antiguos
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 comentarios
Matt J
el 25 de Dic. de 2020
Isn't 2*sin(0.0349*theta) equivalent to 2*sind(2*theta)? I don't see the problem.
Ahmad Madkhanah
el 25 de Dic. de 2020
Matt J
el 25 de Dic. de 2020
Is it just an aesthetic preference? What would be the practical benefit of having things expressed in terms of sind?
Ahmad Madkhanah
el 25 de Dic. de 2020
Ahmad Madkhanah
el 25 de Dic. de 2020
Respuestas (0)
Categorías
Más información sobre Lengths and Angles en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!