|
FreeMat
|
Section: Mathematical Functions
Computes the sine of the argument, but takes the argument in degrees instead of radians (as is the case for cos). The syntax for its use is
y = sind(x)
The sine of 45 degrees should be sqrt(2)/2
--> sind(45)
ans =
0.7071
and the sine of 30 degrees should be 0.5:
--> sind(30)
ans =
0.5000