Inverse cotangent in degrees
Inverse Cotangent of Vector
x = [0 20 Inf]; y = acotd(x)
y = 1×3 90.0000 2.8624 0
acotd operation is element-wise when you pass a vector, matrix, or N-D array.
Inverse Cotangent of Complex Value
ans = 31.7175 - 23.0535i
X — Cotangent of angle
scalar value | vector | matrix | N-D array
Cotangent of angle, specified as a real-valued or complex-valued
scalar, vector, matrix, or N-D array. The
is element-wise when
X is non-scalar.
Complex Number Support: Yes
Calculate with arrays that have more rows than fit in memory.
This function fully supports tall arrays. For more information, see Tall Arrays.
C/C++ Code Generation
Generate C and C++ code using MATLAB® Coder™.
GPU Code Generation
Generate CUDA® code for NVIDIA® GPUs using GPU Coder™.
Run code in the background using MATLAB®
backgroundPool or accelerate code with Parallel Computing Toolbox™
This function fully supports thread-based environments. For more information, see Run MATLAB Functions in Thread-Based Environment.
Accelerate code by running on a graphics processing unit (GPU) using Parallel Computing Toolbox™.
This function fully supports GPU arrays. For more information, see Run MATLAB Functions on a GPU (Parallel Computing Toolbox).
Partition large arrays across the combined memory of your cluster using Parallel Computing Toolbox™.
This function fully supports distributed arrays. For more information, see Run MATLAB Functions with Distributed Arrays (Parallel Computing Toolbox).
Introduced before R2006a