Main Content

Degrees to Radians

Convert degrees to radians

  • Degrees to Radians block

Libraries:
Simulink Extras / Transformations

Description

The Degrees to Radians block computes the output angle in radians from the input angle in degrees.

radians = (n/180) × degrees

radians is the angle in radians and degrees is the angle in degrees.

Ports

Input

expand all

Input signal specifying the input angle in degrees.

Data Types: single | double | int8 | int16 | int32 | uint8 | uint16 | uint32 | fixed point

Output

expand all

Output signal specifying the angle in radians.

Data Types: single | double | int8 | int16 | int32 | uint8 | uint16 | uint32 | fixed point

Version History

Introduced in R2008b