cscd

Cosecant of argument in degrees

Description

example

Y = cscd(X) returns the cosecant of the elements of X, which are expressed in degrees.

Examples

collapse all

cscd(180) is infinite, whereas csc(pi) is large but finite.

cscd(180)
ans = Inf
csc(pi)
ans = 8.1656e+15
z = [35+i 15+2i 10+3i];
y = cscd(z)
y = 1×3 complex

   1.7421 - 0.0434i   3.7970 - 0.4944i   5.2857 - 1.5681i

Input Arguments

collapse all

Angle in degrees, specified as a real-valued or complex-valued scalar, vector, matrix, or N-D array. The cscd operation is element-wise when X is nonscalar.

Data Types: single | double
Complex Number Support: Yes

Output Arguments

collapse all

Cosecant of angle, returned as a real-valued or complex-valued scalar, vector, matrix, or N-D array of the same size as X.

Extended Capabilities

See Also

| |

Introduced before R2006a