# Fourier transform in Matlab and hermitian symmetry

According to the conjugate symmetry property of Fourier transform, shouldn't the following command not return 1 (=true):

x=imread('cameraman.tif');
ishermitian(fft2(x))


However it does not (returns 0).

Is it due to some rounding error? Something else? Otherwise, how would you check that it is (avoiding to write a painful code with for loops etc)?

• I assume x is 3D (R, G, B channels imported?). So is fft2 really doing a 3D FFT or, just 3 2D FFTs? – M529 Aug 9 at 20:39

$$F(-u,-v) = \overline{F}(u,v)\,.$$
For matrix $$A_{i,j}$$, we should have:
$$a_{i,j} = \overline{a}_{j,i}$$