MATLAB Function Reference |
反餘切(inverse cotangent)與反超餘切(inverse hyperbolic cotangent)
Syntax
Y = acot(X) Y = acoth(X)
Description
acot
與 acoth
函式針對陣列元素進行運算。函式的定義域與值域包含複數。角度以弧度(radian)為單位。
Y = acot(X)
回傳 X
中每個元素的反餘切值(arccotangent)。
Y = acoth(X)
回傳 X
中每個元素的反超餘切值。
Examples
x1 = -2*pi:pi/30:-0.1; x2 = 0.1:pi/30:2*pi; plot(x1,acot(x1),x2,acot(x2)) x1 = -30:0.1:-1.1; x2 = 1.1:0.1:30; plot(x1,acoth(x1),x2,acoth(x2))
Algorithm
See Also
acos, acosh | acsc, acsch |