how to apply 200-ms median filter in Matlab

1 view (last 30 days)
Usman
Usman on 3 Sep 2012
Answered: TONY SINGLA on 14 Dec 2013
Hi, Can anyone help me to explain what is meant by applying 200-ms median filter on ECG Signal. Basically this is a technique to remove baseline drift from ECG Signals.I need to do this in Matlab. Appreciate quick response

Answers (2)

Image Analyst
Image Analyst on 3 Sep 2012
I believe it's called medfilt1() and it's in the Signal Processing Toolbox. You just have to know how many elements correspond to 200 ms. How many is it? Let's say it's 15 elements, then you just do
filteredSignal = medfilt1(signal, 15);
  3 Comments
sanaz
sanaz on 3 Jun 2013
Hi,I'm using this command but i got out of memory error. what shall I do?

Sign in to comment.


TONY SINGLA
TONY SINGLA on 14 Dec 2013
how to check what is the frequency and time span of the ECG signal and how to calculate the sample rate?

Community Treasure Hunt

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

Start Hunting!