2D DFFT: wrong order along the second dimension

you need transpose(fft(sin.(ys))), what you are doing is the adjoint which is the transpose, complex conjugated. You don’t see the effect on ys since it was real.

2 Likes