Quantcast

Documentation Center

  • Trial Software
  • Product Updates

toRadians

Convert angles to radians

Syntax

[angle1InRadians, angle2InRadians, ...] = toRadians(fromUnits, angle1, angle2, ...)

Description

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

See Also

| | |

Was this topic helpful?