Products & Services Solutions Academia Support User Community Company

Learn more about Mapping Toolbox   

degtorad - Convert angles from degrees to radians

Syntax

angleInRadians = degtorad(angleInDegrees)

Description

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

Examples

Show that there are 2π radians in a full circle:

2*pi - degtorad(360)

ans =
     0

See Also

fromDegrees | fromRadians | radtodeg | toDegrees | toRadians

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS