Products & Services Solutions Academia Support User Community Company

Learn more about Mapping Toolbox   

angledim - Convert angles units

Syntax

angleOut = angledim(angleIn,from,to)

Description

angleOut = angledim(angleIn,from,to) returns the value of the input angle angleIn, which is in units specified by the valid angle units string from, in the desired units given by the valid angle units string to. Angle units strings are 'degrees' for "decimal" degrees or 'radians' for radians

Example

Convert from degrees to radians:

angledim(23.45134,'degrees','radians')

ans =
    0.4093

See Also

degrees2dms, degtorad, fromDegrees, fromRadians, toDegrees, toRadians, radtodeg, unitsratio

  


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