MATLAB: How to convert from time domain to frequency domain

filteringfrequency domain

I have this filter:
filter_2 = firceqrip(2,0.6,[0.05 0.03]);
I want to convert it to the frequency domain to multiply it by a signal (i.e filter in the frequency domain)

Best Answer

Call fft() or pwelch().