Is there a way to filter in the frequency domain?

1 Ansicht (letzte 30 Tage)
Seth
Seth am 7 Aug. 2013
Suppose you have a structure of gain and phase as a function of frequency for a given filter. Is there a way to use this data as a filter in the frequency domain?
It seems rather undesirable to fft my time domain signal, multiply it with the data, and then take an ifft. This method has too many opportunities to introduce unwanted effects.

Antworten (1)

kjetil87
kjetil87 am 8 Aug. 2013
filtering in frequency domain is as you already suggested a multiplication. I would think that the most natural way to go about this was to take an ifft of your frequency response and use matlabs filter function.
i.e:
h=ifft(H);
filter(h,1,data);

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by