Band pass filter in frequency domain
Ältere Kommentare anzeigen
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
Antworten (1)
Star Strider
am 14 Apr. 2020
2 Stimmen
Please do not even try to do filtering in the frequency domain. However, if you absolutely must, use the fftfilt function.
2 Kommentare
Mordehay Moradi
am 13 Mai 2023
Why do you say not filtering in the f-domain? what is wrong with that?
Star Strider
am 13 Mai 2023
@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.
Kategorien
Mehr zu Frequency Transformations finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!