Returns the cosine of x, where x is given in radian. The function is performed element-wise if is a vector, matrix or signal.
Syntax
cos(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 |   | cos(x) | |