asec
Inverse secant.
y=asec(x)
| Inputs |
x |
An array of real or complex numbers. |
| Outputs |
y |
An array of same size as x . Each element of the output is the inverse secant of the corresponding
element of the input.
|
Example
>>x=randn(3,2);
>>x
1.1155 -0.2629
-2.8590 -0.6518
1.9134 0.0791
>>z=sec(x);
>>y=asec(z);
>>y
1.1155 0.2629
2.8590 0.6518
1.9134 0.0791
>>a=complexRandn(2,3)
>>a
0.5875 + 0.8760i -0.1992 - 0.6151i -0.1578 + 0.0221i
-0.6179 - 0.3506i 0.0569 + 0.7888i 0.2012 + 0.0534i
>>b=sec(a);
>>c=asec(b);
>>c
0.5875 + 0.8760i 0.1992 + 0.6151i 0.1578 - 0.0221i
0.6179 + 0.3506i 0.0569 + 0.7888i 0.2012 + 0.0534i