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 output angle units specified by toUnits. The value of 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