I'm looking at this regarding a simple spectrogram
my question is about this line
% Take the square of the magnitude of fft of x. mx = mx.^2;
why do you need to take the square of the FFT after you take the absolute value?
2) Is the Nyquist point the point at which the FFT should be symmetric and it is thrown out because of this? How do you calculate it in an odd-N FFT (an FFT done on an odd number of points) since it is the midpoint of the FFT?
3) How do you apply a window function with regards to the FFT?
Edit: With regard to number three, this gave a nice answer