Why is my filtered data obtained by the FILTER function in Filter Design Toolbox 2.2 (R13) severely attenuated at the beginning of the signal?

1 view (last 30 days)
I have data whose frequencies are mostly in the passband of my designed filter. After filtering, my output's first 100 points are attenuated by the filter when they should not be.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 27 Jun 2009
This is due to the phase shift introduced by your filter. Filters are known to produce a concept called Group Delay in the filtered signal. This causes your signal to be delayed by varying amounts depending on the phase response of the filter. To avoid group delay in your filtered signal, you need to have a zero-phase filter. This can be done in MATLAB by using the function FILTFILT instead of the function FILTER.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!