Main Content

fromRadians

Convert angles from radians

Syntax

[A1,...,An] = fromRadians(toUnits,R1,...,Rn)

Description

[A1,...,An] = fromRadians(toUnits,R1,...,Rn) converts the angles specified by R1,...,Rn 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 R1,...,Rn and their corresponding outputs are numeric arrays of various sizes, with size(An) matching size(Rn).

Introduced in R2007b