acosh

Inverse hyperbolic cosine

Syntax

Y = acosh(X)

Description

Y = acosh(X) returns the inverse hyperbolic cosine for each element of X.

The acosh function operates element-wise on arrays. The function's domains and ranges include complex values. All angles are in radians.

Examples

collapse all

Graph the inverse hyperbolic cosine function over the domain 1xπ.

x = 1:pi/40:pi; 
plot(x,acosh(x))
grid on
xlabel('x')
ylabel('y')

More About

collapse all

Inverse Hyperbolic Cosine

For real values x in the domain x>1, the inverse hyperbolic cosine satisfies

cosh1(x)=log(x+x21).

For complex numbers z=x+iy, as well as real values in the domain <z1, the call acosh(z) returns complex results.

Extended Capabilities

See Also

| | |

Introduced before R2006a