tan

Navigation:  Language Reference > Functions > Trigonometric >

tan

Previous pageReturn to chapter overviewNext page

Syntax

Y = tan(X);

Description

Returns the tangent of the elements of X.

Examples

b = ramp(2.5);

a = tan(b);

X = [ramp(0);ramp(1)];

Y = tan(X);

Limitations

Y and X must have the same size.

 

Tan