<< rad2deg Trigonometric functions secd >>

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


Version Description
1.0.0 initial version

Author


Allan CORNET

<< rad2deg Trigonometric functions secd >>