FreeMat
|
Section: Mathematical Functions
Converts the argument from degrees to radians. The syntax for its use is
y = deg2rad(x)
where x
is a numeric array. Conversion is done by simply multiplying x
by pi/180
.
How many radians in a circle:
--> deg2rad(360) - 2*pi ans = 0