how i can remove 50HZ noise from ecg.wav signal .

I Load the ecg.wav file using wavread command then i apply 2nd order butterworth low pass filter to suppress the high frequency i did it..now i want to apply the notch filter on the output of low pass filter..so can u please how i can do it...please provide me the solution,,thnx in advance

Answers (3)

If you designed and implemented the lowpass filter, you can do the same thing for the notch filter. See the documentation for the Bandstop Butterworth Filter for details.
can u please apply the notch filter of 50hz on given coding ...please tell me the coding...

1 Comment

The coding is in the documentation for butter. I gave you the link that discusses it. Since you have the Signal Processing Toolbox, also use the second-order-section filter representation for each of your filters for stability. See the documentation for tf2sos for details.
Also, use filtfilt because it does not generate any phase distortion, rather than filter, that does.
This seems to be a biomedical signal processing homework assignment, so I will not do it for you. I have given you all the links and other information you need to successfully do it on your own.

Sign in to comment.

Asked:

on 19 Mar 2015

Edited:

on 19 Mar 2015

Community Treasure Hunt

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

Start Hunting!