how to remove 60hz noise from an ECG signal using notch filter in matlab
5 views (last 30 days)
Show older comments
The code for notch filter is ready
>>>>>>>>>>>
fs=300;
f0=60;
r=0.99;
b0=1;
b1=-2*cos(2*pi*f0/fs);
b2=1;
a0=1;
a1=-2*r*cos(2*pi*f0/fs);
a2=r*r;
b=[b2,b1,b0];
a=[a2,a1,a0];
[h,w]=freqz(b,a);
hf=abs(h);
figure(1);
plot(w*fs/(2*pi),hf);
>>>>>>>>
the ecg data is also available..
How to interface these notch filter and given ECG data ?
0 Comments
Answers (0)
See Also
Categories
Find more on Multirate Signal Processing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!