Convert from Degrees to Radians

Syntax


y = todegrees(x)

Description


Converts the passed argument x in degrees (which may be an expression) to units of radians.

Example


xrad = toradians(90.0)