MATLAB Function Reference |
Inverse cosecant and inverse hyperbolic cosecant
Syntax
Y = acsc(X) Y = acsch(X)
Description
The acsc
and acsch
functions operate element-wise on arrays. The functions' domains and ranges include complex values. All angles are in radians.
Y = acsc(X)
returns the inverse cosecant (arccosecant) for each element of X.
Y = acsch(X)
returns the inverse hyperbolic cosecant for each element of X.
Examples
Graph the inverse cosecant over the domains and and the inverse hyperbolic cosecant over the domains and
x1 = -10:0.01:-1.01; x2 = 1.01:0.01:10; plot(x1,acsc(x1),x2,acsc(x2)) x1 = -20:0.01:-1; x2 = 1:0.01:20; plot(x1,acsch(x1),x2,acsch(x2))
Algorithm
See Also
acot, acoth | addframe |