the use of matlab to get FFT spectrum