cosh

Returns the hyperbolic cosine of a (input in radians).

Syntax

R = cosh(a)

Inputs

a
Any valid scalar | vector | matrix in radians.
Type: double | integer
Dimension: scalar | vector | matrix

Outputs

R
scalar | vector | matrix

Examples

Simple scalar input:
R = cosh(-0.5)
R = 1.12763
Simple matrix input:
R = cosh([-3,.6])
R = [ 10.0677 1.18547 ]
Complex matrix input:
R = cosh([i+2,3i-1;i,0.3])
R  = [ 2.03272 + 3.0519i, -1.52764-0.165844i; 0.540302, 1.04534]