Returns corresponding radian value of a given x value in degrees. It is performed element-wise if x is a vector, matrix or signal.
Syntax
deg2rad(x)
Types
Variable Name | Value Type | Variable Type | ||
---|---|---|---|---|
Argument: | x | real, complex | scalar, vector, matrix, signal, xy-data | |
Result: | v | real, complex | scalar, vector, matrix, signal, xy-data |
Calculator Input
Use the
button to complete the operation.Example
ID | Description | Type | Value | Expression | |
---|---|---|---|---|---|
x | Argument | REAL VECTOR |
| [180,90] | |
v | Result | REAL VECTOR |
| deg2rad(x) |