Documentation Center

  • Trial Software
  • Product Updates
라이선스가 부여된 사용자만 번역 문서를 볼 수 있습니다. 번역 문서를 보려면 로그인하십시오.

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

expand all

Inverse Secant of Vector

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.

Inverse Secant of Complex Value

asecd(1+i)
ans =

  64.0864 +30.4033i

Input Arguments

expand all

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

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

expand 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

| |

Was this topic helpful?