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.

fromDegrees

Convert angles from degrees

Syntax

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

Description

[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?