20-sim webhelp > Language Reference > Functions > Trigonometric > cosh


cosh

Navigation:  Language Reference > Functions > Trigonometric >

cosh

Previous pageReturn to chapter overviewNext page

Syntax

Y = cosh(X);

Description

Returns the hyperbolic cosine of the elements of X.

Examples

b = ramp(2.5);

a = cosh(b);

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

Y = cosh(X);

Limitations

Y and X must have the same size.

 

CosH