Main Content

fromDegrees

Convert angles from degrees

Syntax

[A1,...,An] = fromDegrees(toUnits,D1,...,Dn)

Description

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

Introduced in R2007b