FFT & IFFT with data with large number of samples
이전 댓글 표시
I got data from an oscilloscope. Sampling frequency is 10 Mega Samples per second. The signal generated has 500002 samples. The fundamental is at 60 HZ, noise with a mean value of zero is present. I would like to use FFT to see the frequency spectrum, and then use IFFT to filter out the noise. The number of samples is so high that all methods I am using are unsatisfactory. I need a sequence of commands or a script to solve this.
댓글 수: 1
Walter Roberson
2011년 1월 27일
Please clarify what you mean by "unsatisfactory" ? Are you talking about the amount of time it takes?
답변 (1개)
Vieniava
2011년 1월 27일
0 개 추천
FFT/IFFT filtering is not appropriate in your case, because of poor spectral resolution. The best resolution you could achieve is ca. 10e6/500e3=20 Hz but notice that your fundamental is only 60Hz. If your fundamental is not exactly 60 HZ, e.g. 63 Hz, the output, filtered signal would have 60Hz (to be more precisly would have (k-1)*Fs/NFFT Hz, where k is number of bin with peak, Fs-sampling frequency, NFFT - fft/ifft length), because of averaging nature of FFT/IFFT.
댓글 수: 1
Walter Roberson
2011년 1월 27일
Good point, that's only 1/20th of a second worth of data, only 3 cycles of 60 Hz. If that is the fundamental, then the overtones are going to be nearly undetectable.
카테고리
도움말 센터 및 File Exchange에서 Transforms에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!