This is machine translation

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

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.


Convert angles from degrees


[angle1, angle2, ...] = fromDegrees(toUnits, angle1InDegrees, angle2InDegrees, ...)


[angle1, angle2, ...] = fromDegrees(toUnits, angle1InDegrees, angle2InDegrees, ...) converts angle1InDegrees, angle2InDegrees, ... from degrees to the specified output ("to") angle units. toUnits can be either 'degrees' or 'radians' and may be abbreviated. The inputs angle1InDegrees, angle2InDegrees, ... and their corresponding outputs are numeric arrays of various sizes, with size(angleN) matching size(angleNInDegrees).

Introduced in R2007b

Was this topic helpful?