Date: Nov 15, 2012 3:33 AM
Author: mailcwc@gmail.com
Subject: question on fft example

The mathwork fft example in the following link,
http://bit.ly/SO9TuV
why do we double abs(Y(1:NFFT/2+1) when plotting the amplitude?

plot(f,2*abs(Y(1:NFFT/2+1)))