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.

我们为许可用户提供了部分翻译好的中文文档。您只需登录便可查阅这些文档

asecd

Inverse secant in degrees

Syntax

Description

example

Y = asecd(X) returns the inverse secant (sec-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], asecd returns values in the range [0, 180]. For values of X outside this range, asecd returns complex values.

Examples

collapse all

x = [10 1 Inf];
y = asecd(x)
y =

   84.2608         0   90.0000

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

asecd(1+i)
ans =

  64.0864 +30.4033i

Input Arguments

collapse all

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

Data Types: single | double
Complex Number Support: Yes

Output Arguments

collapse all

Angle in degrees, 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?