# How can i generate hermitian of a matrix in matlab?

706 views (last 30 days)
Midhun on 21 Apr 2016
Commented: Bruno Luong on 23 Oct 2020
is hermitian of a matrix and complex conjugate transpose are same?..

Walter Roberson on 21 Apr 2016
Hermitian is a property, not something that can be generated. A hermitian matrix is a matrix which is equal to its complex transpose.
If you have a matrix which "should" be hermitian but might not be due to round-off error, then take
newH = (H + H') / 2
Bruno Luong on 23 Oct 2020
I only know Hermitian, or conjugate transpose.
Rarely heard "complex transpose" or "hermitian transpose".

pankaj singh on 31 May 2019
Transpose for real matrices is equivalent to Hermitian (complex conjugate transpose) for complex matrices. Therefore, you can use the same matlab operator to generate the Hermitian for a complex matrix. For example:
x = [1+j; 1-j; 2-j; 1+2j] % random complex matrix
x =
1.0000 + 1.0000i
1.0000 - 1.0000i
2.0000 - 1.0000i
1.0000 + 2.0000i
>> x' % take it's Hermitian
ans =
1.0000 - 1.0000i 1.0000 + 1.0000i 2.0000 + 1.0000i 1.0000 - 2.0000i