acotd
Inverse cotangent of each element, with the result in degrees.
Category: Mathematics > Elementary Math
Syntax
Y = acotd(X)
Returns the inverse cotangent of each element of X, in degrees.
Description
acotd(X) is the angle in degrees whose cotangent is X. It is the degree counterpart of acot, so acotd(1) is 45 and acotd(0) is 90.
Input arguments
X- Numeric array of any size.
Output arguments
Y- Array of the same size as
X, in degrees.
Example
Inverse cotangent in degrees
acotd([1 0 -1])
Output
ans = 1×3
45 90 -45