MATLAB Function Reference | Search  Help Desk |
asec, asech | Examples See Also |
Inverse secant and inverse hyperbolic secant
Y = asec(X) Y = asech(X)The
asec
and asech
functions operate element-wise on arrays. The functions' domains and ranges include complex values. All angles are in radians.
Y = asec(X)
returns the inverse secant (arcsecant) for each element of X.
Y = asech(X)
returns the inverse hyperbolic secant for each element of X.
Graph the inverse secant over the domains and and the inverse hyperbolic secant over the domain
x1 = -5:0.01:-1; x2 = 1:0.01:5;
plot(x1,asec(x1),x2,asec(x2))
x = 0.01:0.001:1; plot(x,asech(x))
sec
, sech
Secant and hyperbolic secant