Is there a way to filter in the frequency domain?

4 次查看(过去 30 天)
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.

回答(1 个)

kjetil87
kjetil87 2013-8-8
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);

类别

Help CenterFile Exchange 中查找有关 Filter Analysis 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by