I have the following matrix
$$A = \pmatrix{1 & 0 & 1\cr 0 & 2 & 0\cr 1 & 0 & 1\cr}$$
and
$$adj(\bf{A})=\pmatrix{2 & 0 & -2\cr 0 & 0 & 0\cr -2 & 0 & 2\cr}$$
MATLAB says the matrix $A$ is Hermitian. However the conjugate transpose is not equal the matrix $A$. How to check the matrix is Hermitian ?