Quantcast

Documentation Center

  • Trial Software
  • Product Updates

asec

Inverse secant in radians

Syntax

Y = asec(X)

Description

Y = asec(X) returns the inverse secant (arcsecant) for each element of X.

The asec function operates element-wise on arrays. The function's domains and ranges include complex values. All angles are in radians.

Examples

expand all

Graph of Inverse Secant Function

Graph the inverse secant over the domains $-5 \le x \le -1$ and $1 \le x \le 5$ .

x1 = -5:0.01:-1;
x2 = 1:0.01:5;
plot(x1,asec(x1),x2,asec(x2)), grid on

More About

expand all

Inverse Secant

The inverse secant can be defined as

See Also

| |

Was this topic helpful?