FUNCTION REFERENCE

tan

Tangent of an angle in radians.

Tangent of an angle in radians.

Syntax

tan(X)

Applies tangent to each element; complex input is supported.

Example

tan(0)   % 0

Differences from MATLAB: double 2-D arrays only.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.