The matrix is Hermitian and has a real-valued diagonal.
Test whether the matrix is symmetric.
tf = issymmetric(A)
tf =logical0
The result is logical0(false) becauseAis not symmetric. In this case,Ais equal to its complex conjugate transpose,一个“, but not its nonconjugate transpose,一种。'.
Change the element inA(3,1)to be1i.
A(3,1) = 1i;
Determine whether the modified matrix is symmetric.
tf = issymmetric(A)
tf =logical1
The matrix,A, is now symmetric because it is equal to its nonconjugate transpose,一种。'.
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.