ishermitian
Last updated
Was this helpful?
Last updated
Was this helpful?
Was this helpful?
Computes if matrix is hermitian or skew-hermitian.
res = ishermitian(x)
res = ishermitian(x, 'skew')
res = ishermitian(x, 'nonskew')
x - a numeric value: scalar or matrix (double or single, integers, logical).
res - a logical.
ishermitian(x) computes if matrix is hermitian or skew-hermitian.
A matrix is skew-hermitian if the complex conjugate transpose of the matrix is equal to the negative of the original matrix.
ishermitian([1 0 1i; 0 1 0; -1i 0 1])
1.0.0
initial version
Allan CORNET