Please, see the the description of both fftshift
and ifftshift
.
I would like to understand how to call the above two functions in relationship with fft
and fftn
in Matlab.
Let say that my signal has a certain frequency content; now, the frequency array can generally be stored as:
f = (-N/2:N/2-1)*df;
f = (1:N)*(df/2);
f = [(0:N/2-1) (-N/2:-1)];
What is the best way to call fft
, coupled with fftshift
and ifftshift
, for the 3 study cases early mentioned?
What is the effect on the standard deviation of the signal of calling the sequence of commands or the wrong one?