Write a MATLAB function called rad2deg that will take an angle in radians as the input argument and return the angle converted to degrees.
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
idk how to write this
0 comentarios
Respuestas (2)
Steven Lord
el 28 de Sept. de 2017
If this is not a homework assignment, I recommend using the function that has been included in MATLAB since release R2015b.
If this is a homework assignment, show what you've tried and ask a specific question about where you're having difficulty and you may receive some suggestions.
0 comentarios
KSSV
el 28 de Sept. de 2017
Don't post silly question...you can use the community for tough and complex situations. What is there to write a function?
You need to multiply radians with pi/180 to convert. There is also inbuilt function for that rad2deg
0 comentarios
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!