tan

Computes the tangent in radians for each element of x.

Syntax

  • res = tan(x)

Input argument

  • x - a numeric value

Output argument

  • res - a numeric value

Description

tan computes the tangent in radians for each element of x.

Example

A = eye(3, 3);
res = tan(A)

See also

atan.

History

VersionDescription

1.0.0

initial version

Author

Allan CORNET

Last updated