cos
Computes the cosine in radians for each element of x.
📝 Syntax
res = cos(x)
📥 Input argument
x - a numeric value
📤 Output argument
res - a numeric value
📄 Description
cos computes the cosine in radians for each element of x.
The cosine function is defined as:
For real arguments, it represents the x-coordinate on the unit circle.
💡 Example
A = eye(3, 3);
res = cos(A)🔗 See also
acos.
🕔 History
Version
📄 Description
1.0.0
initial version
Last updated
Was this helpful?