Main Content


Inverse hyperbolic cosecant



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


collapse all

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

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

   0.4812 + 0.0000i  -0.3275 + 0.0000i   0.2156 - 0.4016i

Plot the inverse hyperbolic cosecant function over the intervals -20x-1 and 1x20.

x1 = -20:0.01:-1; 
x2 = 1:0.01:20; 
grid on

Input Arguments

collapse all

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

Data Types: single | double | table | timetable
Complex Number Support: Yes

More About

collapse all

Inverse Hyperbolic Cosecant

For real values x in the domain x<0 and x>0, the inverse hyperbolic cosecant satisfies


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

Extended Capabilities

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

Version History

Introduced before R2006a

expand all

See Also

| | |