Documentation

This is machine translation

Translated by Microsoft
Mouse over text to see original. Click the button below to return to the English verison of the page.

cscd

Cosecant of argument in degrees

Syntax

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.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.

More About

collapse all

Tall Array Support

This function fully supports tall arrays. For more information, see Tall Arrays.

See Also

| |

Introduced before R2006a

Was this topic helpful?