Documentation

This is machine translation

Translated by Microsoft
Mouse over text to see original. Click the button below to return to the English verison of the page.

asech

Inverse hyperbolic secant

Syntax

Y = asech(X)

Description

Y = asech(X) returns the inverse hyperbolic secant for each element of X.

The asech 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 secant over the domain $0.01 \le x \le 1$.

x = 0.01:0.001:1;
plot(x,asech(x))
grid on
xlabel('x')
ylabel('y')

More About

collapse all

Inverse Hyperbolic Secant

For real values x in the domain 0<x1, the inverse hyperbolic secant satisfies

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

For complex numbers z=x+iy as well as real values in the regions <z0 and 1z<, the call asech(z) returns complex results.

Tall Array Support

This function fully supports tall arrays. For more information, see Tall Arrays.

See Also

| | |

Introduced before R2006a

Was this topic helpful?