asec

asec(X) returns the inverse secant, expressed in radians, for each element of X.

Examples

> x = (1:0.2:10)'

[x:46x1 double]

> plot([-x x], [asec(-x) asec(x)], struct('colors', {'blue'}))

[ans:1x1 struct]

Resources

See also

asecd | asech | sec