The cosine of the argument. |
||
Syntax |
c = Cos(m) |
|
Argument |
Name |
Description |
m |
A scalar, vector or a matrix in radians. |
|
Output |
Name |
Description |
c |
The cosine of each entry. |
|
Example |
Find the cosine of elements in a matrix: |
|
Syntax |
||
C = Cos([1,2;3,4]) |
||
Result |
||
C = 0.5403 -0.41615 -0.98999 -0.65364 |
||
See Also: |