FUNCTION REFERENCE

rad2deg

Convert angles from radians to degrees.

Convert angles from radians to degrees.

Syntax

D = rad2deg(R)

Returns (180/pi)*R for a real or complex double array.

Example

rad2deg(pi/2)   % 90

Differences from MATLAB: Character, logical and cell input stop with an error, as MATLAB's sinh does; single input is not supported yet.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.