Documentation

This is machine translation

Translated by Microsoft
Mouse over text to see original. Click the button below to return to the English verison of the page.

radtodeg

Convert angles from radians to degrees

radtodeg is not recommended and may be removed in a future release. Instead, use rad2deg.

Syntax

angleInDegrees = radtodeg(angleInRadians)

Description

angleInDegrees = radtodeg(angleInRadians) converts angle units from radians to degrees. This is both an angle conversion function and a distance conversion function, because arc length can be a measure of distance in either radians or degrees (provided the radius is known).

Examples

There are 180º in π radians:

anglout = radtodeg(pi)
anglout =
   180

Introduced in R2009b

Was this topic helpful?