# 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

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

## See also

[secd](https://github.com/Nelson-numerical-software/nelson-gitbook/blob/master/en/trigonometric_functions/secd.html).

## History

| Version | Description     |
| ------- | --------------- |
| 1.0.0   | initial version |

## Author

Allan CORNET
