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.

acscd

Inverse cosecant in degrees

Syntax

Description

example

Y = acscd(X) returns the inverse cosecant (cosec-1) of the elements of X in degrees. The function's domain and range include complex values. For real elements of X in the domain [-Inf,1] and [1,Inf], acscd returns values in the range [-90,90]. For values of X outside this range, acscd returns complex values.

Examples

collapse all

Inverse Cosecant of Vector

x = [20 10 Inf];
y = acscd(x)
y =

    2.8660    5.7392         0

The acscd operation is element-wise when you pass a vector, matrix, or N-D array.

Inverse Cosecant of Complex Value

acscd(1+i)
ans =

  25.9136 -30.4033i

Input Arguments

collapse all

X — Cosecant of anglescalar value | vector | matrix | N-D array

Cosecant of angle, specified as a real-valued or complex-valued scalar, vector, matrix, or N-D array. The acscd operation is element-wise when X is non-scalar.

Data Types: single | double
Complex Number Support: Yes

Output Arguments

collapse all

Y — Angle in degreesscalar value | vector | matrix | N-D array

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

See Also

| |

Introduced before R2006a

Was this topic helpful?