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 | multidimensional array | table | timetable
Cotangent of angle, specified as a real-valued or complex-valued scalar, vector, matrix,
multidimensional array, table, or timetable. The
operation 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).
Version HistoryIntroduced before R2006a
R2023a: Perform calculations directly on tables and timetables
acotd function can calculate on all variables within a table or
timetable without indexing to access those variables. All variables must have data types
that support the calculation. For more information, see Direct Calculations on Tables and Timetables.