Main Content

asinh

Inverse hyperbolic sine

Description

example

Y = asinh(X) returns the inverse hyperbolic sine of the elements of X. The function accepts both real and complex inputs. All angles are in radians.

Examples

collapse all

Find the inverse hyperbolic sine of the elements of vector X. The asinh function acts on X element-wise.

X = [2 -3 1+2i];
Y = asinh(X)
Y = 1×3 complex

   1.4436 + 0.0000i  -1.8184 + 0.0000i   1.4694 + 1.0634i

Plot the inverse hyperbolic sine function over the interval -5x5.

x = -5:.01:5; 
plot(x,asinh(x))
grid on
xlabel('x')
ylabel('asinh(x)')

Input Arguments

collapse all

Hyperbolic sine of angle, specified as a scalar, vector, matrix, or multidimensional array. The asinh operation is element-wise when X is nonscalar.

Data Types: single | double
Complex Number Support: Yes

More About

collapse all

Inverse Hyperbolic Sine

For real values x in the domain of all real numbers, the inverse hyperbolic sine satisfies

sinh1(x)=log(x+x2+1).

For complex numbers z=x+iy, the call asinh(z) returns complex results.

Extended Capabilities

C/C++ Code Generation
Generate C and C++ code using MATLAB® Coder™.

GPU Code Generation
Generate CUDA® code for NVIDIA® GPUs using GPU Coder™.

See Also

| | |

Introduced before R2006a