I have a complex number vector 'x' and I perform x*x'.
I got different results in R2017b and R2018a.
Below is the sample code:
rng('default')n=2;x = rand(n,1)+rand(n,1)*1j;ret = x*x'isHermitian = isequal(ret,ret')
ret =0.6799 + 0.0000i 0.8540 - 0.6291i0.8540 + 0.6291i 1.6547 - 0.0000iisHermitian =logical0
0.6799 + 0.0000i 0.8540 - 0.6291i0.8540 + 0.6291i 1.6547 + 0.0000iisHermitian =logical1
Why is that?