MATLAB Function Reference | Search  Help Desk |
csc, csch | Examples See Also |
Cosecant and hyperbolic cosecant
Y = csc(x) Y = csch(x)The
csc
and csch
functions operate element-wise on arrays. The functions' domains and ranges include complex values. All angles are in radians.
Y = csc(x)
returns the cosecant for each element of x
.
Y = csch(x)
returns the hyperbolic cosecant for each element of x
.
Graph the cosecant and hyperbolic cosecant over the domains and .
x1 = -pi+0.01:0.01:-0.01; x2 = 0.01:0.01:pi-0.01; plot(x1,csc(x1),x2,csc(x2)) plot(x1,csch(x1),x2,csch(x2))
acsc
, acsch
Inverse cosecant and inverse hyperbolic cosecant