Inverse secant in degrees
For real values of
Xin the intervals [-∞, -1] and [1, ∞],
asecd(X)returns values in the interval [0, 180].
For real values of
Xin the interval (-1, 1) and for complex values of
asecd(X)returns complex values.
Inverse Secant of Vector
x = [10 1 Inf]; y = asecd(x)
y = 1×3 84.2608 0 90.0000
asecd operation is element-wise when you pass a vector, matrix, or N-D array.
Inverse Secant of Complex Value
ans = 64.0864 +30.4033i
X — Secant of angle
scalar value | vector | matrix | multidimensional array | table | timetable
Secant of angle, specified as a real-valued or complex-valued scalar, vector, matrix,
multidimensional array, table, or timetable. The
operation is element-wise when
X is non-scalar.
Complex Number Support: Yes
Calculate with arrays that have more rows than fit in memory.
This function fully supports tall arrays. For more information, see Tall Arrays.
C/C++ Code Generation
Generate C and C++ code using MATLAB® Coder™.
Run code in the background using MATLAB®
backgroundPool or accelerate code with Parallel Computing Toolbox™
This function fully supports thread-based environments. For more information, see Run MATLAB Functions in Thread-Based Environment.
Accelerate code by running on a graphics processing unit (GPU) using Parallel Computing Toolbox™.
This function fully supports GPU arrays. For more information, see Run MATLAB Functions on a GPU (Parallel Computing Toolbox).
Partition large arrays across the combined memory of your cluster using Parallel Computing Toolbox™.
This function fully supports distributed arrays. For more information, see Run MATLAB Functions with Distributed Arrays (Parallel Computing Toolbox).
Version HistoryIntroduced before R2006a
R2023a: Perform calculations directly on tables and timetables
asecd function can calculate on all variables within a table or
timetable without indexing to access those variables. All variables must have data types
that support the calculation. For more information, see Direct Calculations on Tables and Timetables.