# filter design for ECG

I would like to ask how to design a digital filter to remove $50$ Hz interference on an ECG signal. Do I need to use notch filter? Thanks.

Yes, you will need to make a 50Hz notch filter.

I would suggest you to look at this post.

If you tell what type of program you use (Python, R, etc) I could try to provide you some code aswell.