FUNCTION REFERENCE

coth

Hyperbolic cotangent.

Hyperbolic cotangent.

Syntax

y = coth(X)

Computed as 1./tanh(X), as in MATLAB, elementwise on a real or complex double array. Out-of-domain real input gives a complex result.

Example

coth(1)   % 1.3130

Differences from MATLAB: Character, logical and cell input stop with an error, as MATLAB's sinh does; single input is not supported yet.

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