I'm new in DSP and I have a question in filtering a signal. As I have seen on the internet, IIR
and FIR
filters are commonly used for filtering a signal. In addition I have also seen another way to filter the signal namely: frequency domain filter (as in Aquilca C++) which apply a rectangular or brickwall window and perform a multiplication to the signal.
I know that we can perfrom the filtering on either time domain (using convolution) or frequency domain (using multiplication), however my question is:
Why can't we just simply use the frequency domain filter method instead of IIR or FIR ? because I think generate a window function is much simpler than generate an IIR filter.
Thanks