I have some big data in time doamin. I converted that data into frequncy domain by applying FFT. I want to apply bandpass filter to this data. I tried with different commands like 'bandpass, filter, butter, etc' but i am not getting expected results. I am thinking all the commands are applicable to time doamin signal. Can someone help me out in understanding how to apply bandpass to fft data.
Thanks in advance

답변 (1개)

Star Strider
Star Strider 2020년 4월 14일

2 개 추천

Please do not even try to do filtering in the frequency domain. However, if you absolutely must, use the fftfilt function.

댓글 수: 2

Mordehay Moradi
Mordehay Moradi 2023년 5월 13일
Why do you say not filtering in the f-domain? what is wrong with that?
Star Strider
Star Strider 2023년 5월 13일
@Mordehay Moradi — There’s nothing wrong with it if you’re doing it with analogue hardware filters, because they operate in the frequency domain. However everything in a computer uses sampled, discrete, signals, so it is in the time domain essentially by definition.
Even if you use the convolution of a filter passband and the spectrum of a signal created by calculating the Fourier transforms, you are doing that filtering by creating the frequency domain representation of a sampled signal first.
So stay in the time domain with sampled signals. It¹s just easier.

댓글을 달려면 로그인하십시오.

카테고리

질문:

2020년 4월 14일

댓글:

2023년 5월 13일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by