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.