How to perform median filtering considering window?

1 view (last 30 days)
hello, i need to perform filteration on raw ECG signal using median filter and then use Butterworth filter on that. but im not supposed to use medfilt2, buttord or those functions in matlab. How to create my own function? im not sure on how to do it.Can someone help me in this? I am totally new in this MATLAB. i am trying my best to cope up. Thanks in advance. here is my abnormal ECG file.
  2 Comments
jonas
jonas on 13 Aug 2018
Edited: jonas on 13 Aug 2018
You should start by reading about medfilt2 in the doc and understand how it works. You can also check movmean , as it has some nice images on how windows work on 1D-arrays.
I assume this is homework?

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!