fromRadians

Convert angles from radians

Syntax

[angle1, angle2, ...] = fromRadians(toUnits,angle1InRadians,angle2InRadians,...)

Description

[angle1, angle2, ...] = fromRadians(toUnits,angle1InRadians,angle2InRadians,...) converts angle1InRadians, angle2InRadians, ... from radians to the angle units specified by toUnits. The value of toUnits can be either 'degrees' or 'radians' and may be abbreviated. The inputs angle1InRadians, angle2InRadians, ... and their corresponding outputs are numeric arrays of various sizes, with size(angleN) matching size(angleNInRadians).

Introduced in R2007b