res = ishermitian(x)
res = ishermitian(x, 'skew')
res = ishermitian(x, 'nonskew')
| Parameter | Description |
|---|---|
| x | a numeric value: scalar or matrix (double or single, integers, logical). |
| Parameter | Description |
|---|---|
| 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])
| Version | Description |
|---|---|
| 1.0.0 | initial version |