Main Content

cscd

Cosecant of argument in degrees

Description

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

example

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, multidimensional array, table, or timetable. The cscd operation is element-wise when X is nonscalar.

Data Types: single | double | table | timetable
Complex Number Support: Yes

Output Arguments

collapse all

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

Extended Capabilities

Version History

Introduced before R2006a

expand all

See Also

| |