For real values in the domain , the inverse hyperbolic cosine satisfies
For complex numbers , as well as real values in the domain , the call acosh(z) returns complex results.
Extended Capabilities
Tall Arrays 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™.
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™.
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 Arrays Accelerate code by running on a graphics processing unit (GPU) using Parallel Computing Toolbox™.
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).
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.