ishermitian
Computes if matrix is hermitian or skew-hermitian.
📝Syntax
res = ishermitian(x)
res = ishermitian(x, 'skew')
res = ishermitian(x, 'nonskew')
📥Input Arguments
Parameter Description
x a numeric value: scalar or matrix (double or single, integers, logical).
📤Output Arguments
Parameter Description
res a logical.
📄Description

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.

💡Examples
ishermitian([1 0 1i; 0 1 0; -1i 0 1])
🔗See Also
issymmetric
🕔Version History
Version Description
1.0.0 initial version
Edit this page on GitHub