sec

Secant of angle in radians.

Syntax

  • res = sec(x)

Input argument

  • x - a numeric value

Output argument

  • res - a numeric value

Description

sec computes the secant of argument in radians for each element of x.

Example

x = -pi:0.75:pi;
R = sec(x)

See also

secd.

History

VersionDescription

1.0.0

initial version

Author

Allan CORNET

Last updated