Converts the input in radians to degrees.
RAD2DEG(x)
x |
- |
A scalar or series, the radian input. |
A scalar or series, the result in degrees.
rad2deg(pi/4)
returns 45.0 degrees.
W1: {0, pi/4, pi/3, pi/2, pi}
W2: rad2deg(w1)
W2 == {0, 45, 60, 90, 180}
The radian values of W1 converted to degrees in W2.
If the input is a series, the vertical units are set to degrees.
See DEG2RAD to convert degrees to radians.