Convert angles to degrees
[D1,...,Dn] = toDegrees(fromUnits,A1,...,An)
[D1,...,Dn] = toDegrees(fromUnits,A1,...,An)
converts the angles specified by A1,...,An to degrees from the angle
units specified by fromUnits. The value of
fromUnits can be either 'degrees' or
'radians' and may be abbreviated. The inputs
A1,...,An and their corresponding outputs are numeric arrays of
various sizes, with size(Dn) matching
size(An).