My matlab somehow in degree mode
显示 更早的评论
I was trying to write some codes for signal processing. Somehow my sin,cos...commands are in degree mode. And I think those functions are somehow malfunctioned. Could anyone help me fix it?


采纳的回答
更多回答(1 个)
Muthu Annamalai
2014-9-22
Have you tried the functions,
sind(180)
cosd(90)
etc ?
Also the MAP toolbox has the functions deg2rad and rad2deg
类别
在 帮助中心 和 File Exchange 中查找有关 Lengths and Angles 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!