coshm

coshm — matrix hyperbolic cosine

Calling sequence

t=coshm(x)  

Parameters

x,t : real or complex square matrix

Description

coshm is the matrix hyperbolic cosine of the matrix x. t=(expm(x)+expm(-x))/2. Result may be inaccurate for nonsymmetric matrix.

Examples



A=[1,2;2,4]
acoshm(coshm(A))
 
  

See also

cosh, expm