一、sin函数
在matlab上使用三角函数sin时,总是存在要将度数转换为弧度的操作。
例如:
theta0=30;
y=sin(theta0/180*pi)
输出结果:
二、sind函数
sind函数:参数的正弦,以度为单位。
意味着,不用使用 theta0/180*pi 进行度数转弧度的操作了。
例程
y=sind(30)
输出结果
三、其他以度为单位的三角函数
其他以度为单位的三角函数,就是在正常三角函数末尾上,加一个“d”。
例如:asind,cosd,acosd,tand,atand