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)')

Figure contains an axes object. The axes object with xlabel x, ylabel asinh(x) contains an object of type line.

Input Arguments

collapse all

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

Data Types: single | double | table | timetable
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™.

Version History

Introduced before R2006a

expand all

See Also

| | |