Power Spectrum of a Sine Wave. % FFT is symmetric, throw away second half. X = X(1:nfft/2);. % Take the magnitude of fft of x mx = abs(X);.
確定! 回上一頁