Returns corresponding degree value of a given x value in radians. It is performed element-wise if x is a vector, matrix or signal.
Syntax
rad2deg(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 | 
                                         
                                              | [pi,0.5*pi] | |
| v | Result | REAL VECTOR | 
                                         
                                              | rad2deg(x) | |