csc

Returns the cosecant for each element of the argument (in radians).

Syntax

R = csc(a)

Inputs

a
The angle in radians.
Dimension: scalar | vector | matrix

Outputs

R
scalar | vector | matrix

Examples

Scalar input:
R = csc(pi/3)
R = 1.15470054
Matrix input:
R = csc([pi/6, -pi/4; -pi/3, pi/2])
R = [Matrix] 2 x 2
  2.00000  -1.41421
 -1.15470   1.00000