Y = atanh(X) returns the
inverse hyperbolic tangent of the elements of X. The function accepts
both real and complex inputs. All angles are in radians.
Hyperbolic tangent of angle, specified as a scalar, vector, matrix, multidimensional
array, table, or timetable. The atanh operation is element-wise when
X is nonscalar.
Data Types: single | double | table | timetable Complex Number Support: Yes
The
atanh function fully supports tall arrays. For more information,
see Tall Arrays.
Usage notes and limitations:
Generates an error during simulation and returns NaN in
generated code when the input value x is real, but the output
should be complex. To get the complex result, make the input value complex by passing
in complex(x).
GPU Code Generation Generate CUDA® code for NVIDIA® GPUs using GPU Coder™.
The atanh function
supports GPU array input with these usage notes and limitations:
If the output of the function running on the GPU can be complex, then you must explicitly specify its input arguments as complex. For more information, see Work with Complex Numbers on a GPU (Parallel Computing Toolbox).
The atanh 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.
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window.
Web browsers do not support MATLAB commands.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: United States.
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.