delay in digital filtering

2 views (last 30 days)
Ahmed Tawfeeq
Ahmed Tawfeeq on 23 Mar 2013
Hi all.... I have an ECG signal need to be filtered with band pass filter, but the yielded signal after being filtered is flattened at early samples, why is that? and how to fix it?

Answers (1)

Wayne King
Wayne King on 23 Mar 2013
One thing you can try is using filtfilt()
You have not given specifics about what kind of filter you used and how long your filter is in relation to your signal, but if you look at the reference page for filtfilt
You'll see an example with a simulated ECG waveform that demonstrates the zerophase filtering that gets rid of the delay.

Community Treasure Hunt

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

Start Hunting!