low pass filter with windowing method
hi everyone,
im doing an assignment about developing an adaptive notch filter for the removal of 50hz noise from an ecg signal..im really not familiar with matlab but im learning..after i read about filters i decided to use low pass filter with windowing method..now ive tried tis low pass filter
fsamp = 60;
fcuts = [5 10];
mags = [1 0];
devs = [0.05 0.01];
[n,Wn,beta,ftype] = kaiserord(fcuts,mags,devs,fsamp);
hh = fir1(n,Wn,ftype,kaiser(n+1,beta),'noscale')
after that i really dont know how to continue the development..please guide me.
awaiting for ur reply
dolly
im doing an assignment about developing an adaptive notch filter for the removal of 50hz noise from an ecg signal..im really not familiar with matlab but im learning..after i read about filters i decided to use low pass filter with windowing method..now ive tried tis low pass filter
fsamp = 60;
fcuts = [5 10];
mags = [1 0];
devs = [0.05 0.01];
[n,Wn,beta,ftype] = kaiserord(fcuts,mags,devs,fsamp);
hh = fir1(n,Wn,ftype,kaiser(n+1,beta),'noscale')
after that i really dont know how to continue the development..please guide me.
awaiting for ur reply
dolly
0
Comments
2) i can almost guarantee you don't want to use a LPF
3) ??
4) Profit.
sir,can i give the input signal to the low pass filter and then directed to kaiser to eliminate the noise..is my method is correct?
You want to create a notch filter, not a low pass filter. The idea is that you have 50Hz noise in your signal, so you want to get rid of just that noise without affecting the rest of the signal. If you use a low-pass filter, you will remove the 50Hz noise, but also anything above 50Hz.