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 specified output ("to") angle units. 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).

Was this topic helpful?