Name

csc — Computes the element-wise cosecant of the argument.

Calling Sequence

y = csc(x)

Parameters

x

Real or complex array.

y

Real or complex array with same dimensions as x.

Description

Computes the element-wise cosecant of the argument. The cosecant is a periodic function defined as 1/sin. For real data the results are real and in ]-%inf -1] U [1 %inf[.

Examples

 
x=linspace(0.01,%pi-0.01,200)
clf();
plot(-x,csc(-x),x,csc(x))
 

See Also

sec, cscd

Authors

Serge Steer, INRIA