<< tanh trigonometric functions

tanm


Computes the matrix tangent of a square matrix.


Syntax


res = tanm(x)

Input argument


x

a numeric value: scalar or square matrix

Output argument


res

a numeric value: a square matrix

Description


tanm(x) computes the matrix tangent of x.

Example


A = eye(3, 3);
res = tanm(A)
A = [1, 2; 3, 4];
res = tanm(A)

See also


tan.

History


Version Description
1.0.0 initial version

Author


Allan CORNET

<< tanh trigonometric functions