I have found a bit of code in MATLAB:
y = fft(y, nfft);
Where y is a 512×443 two-dimensional array and nfft = 512.
I thought that fft is for a one-dimensional array and for a two-dimensional array there should be fft2, but fft is working. How is that possible?
From the documentation (emphasis mine):