Converts angles in degrees to angles in radians.
c = deg_to_rad(a)Legacy name: deg2rad
Angles in degrees to be converted. a is a scalar or an array of any dimension.
Angles in radians. c is a scalar or an array of any dimension of the same size as a. c = a/180*pi.
A = -180: 1: 180; B = deg_to_rad(A)
Where This Node Can Run:
Desktop OS: Windows
FPGA: DAQExpress does not support FPGA devices