coshm - matrix hyperbolic cosine
coshm is the matrix hyperbolic cosine of the matrix x. t=(expm(x)+expm(-x))/2. Result may be inaccurate for nonsymmetric matrix.
A=[1,2;2,4] acoshm(coshm(A))