Inverse tangent in degrees
Inverse Tangent of Vector
x = [-50 -20 0 20 50]; y = atand(x)
y = 1×5 -88.8542 -87.1376 0 87.1376 88.8542
atand operation is element-wise when you pass a vector, matrix, or N-D array.
Inverse Tangent of Complex Value
ans = 84.3450 + 0.5618i
X — Tangent of angle
scalar value | vector | matrix | N-D array
Tangent 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