Documentation Center

  • 評価版
  • 製品アップデート

radtodeg

Convert angles from radians to degrees

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

See Also

| | | |

Was this topic helpful?