asec
Returns the inverse secant (in radians) for each element of the argument.
Syntax
R = asec(a)
Inputs
- a
- Dimension: scalar | vector | matrix
Outputs
- R
- The angle result (in radians).
Examples
Scalar
input:
R = asec(2/sqrt(3))
R = 0.523598776
Matrix
input:
R = asec([1, 2/sqrt(3); 2, sqrt(2)])
R = [Matrix] 2 x 2
0.00000 0.52360
1.04720 0.78540