MATLAB Function Reference |
餘切(cotangent)與超餘切(hyperbolic cotangent)
Syntax
Y = cot(X) Y = coth(X)
Description
cot
與 coth
函式針對陣列元素進行運算。函式的定義域與值域包含複數。角度以弧度(radian)為單位。
Examples
x1 = -pi+0.01:0.01:-0.01; x2 = 0.01:0.01:pi-0.01; plot(x1,cot(x1),x2,cot(x2)) plot(x1,coth(x1),x2,coth(x2))
Algorithm
See Also
cos, cosh | cov |