This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.


Checks whether a matrix is Hermitian

MuPAD® notebooks are not recommended. Use MATLAB® live scripts instead.

MATLAB live scripts support most MuPAD functionality, though there are some differences. For more information, see Convert MuPAD Notebooks to MATLAB Live Scripts.




linalg::isHermitian(A) determines whether the matrix A is Hermitian, i.e., whether , where denotes the conjugate matrix.

If the component ring of the matrix A does not provide the method "conjugate", then A is tested for symmetry, i.e., linalg::isHermitian returns TRUE if and only if A satisfies the equation A = At.


Example 1

Here is an example of a Hermitian matrix:

A := Dom::Matrix(Dom::Complex)([[1, I], [-I, 1]])


The following matrix is not Hermitian:

B := Dom::Matrix(Dom::Complex)([[1, -I], [-I, 1]])


The reason is the following:

linalg::transpose(conjugate(B)) <> B

Example 2

Here is an example of a symmetric matrix over the integers:

C := Dom::Matrix(Dom::Integer)([[1, 2], [2, -1]])




A square matrix of a domain of category Cat::Matrix

Return Values

Either TRUE or FALSE.

See Also

MuPAD Functions

Was this topic helpful?