Howdy, stranger! Ready to join the community? [log in]

To reply on Icrontic, register now.

It only takes 30 seconds.

Have an account? Sign in for less ads.

Forgot?
dolly
New to the neighborhood
dolly
3 Posts

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
shwaip
elaborate bot
shwaip
5,729 Posts
1) an adaptive notch filter is nowhere near a LPF based on the windowing method.
2) i can almost guarantee you don't want to use a LPF
3) ??
4) Profit.
__________________ my photostream for ic photography challenge

Anyone who wants dropbox, please use my referral link
dolly
New to the neighborhood
dolly
3 Posts
1) an adaptive notch filter is nowhere near a LPF based on the windowing method.
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?
shwaip
elaborate bot
shwaip
5,729 Posts
why are you low pass filtering the signal at all?
dolly
New to the neighborhood
dolly
3 Posts
what i understoodd was like that.that means i just can use the low pass filter isnt it..how i should call the signal to the low pass filter?
shwaip
elaborate bot
shwaip
5,729 Posts
do you have the filter design toolkit? Try typing fdatool, and if it brings up a gui, you should be able to figure it out with that.

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.
Similar Threads
Thread Thread Starter Forum Replies Last Post
Aim Pics Virus Heeeelp!!! Please!!!! dodolaty Resolved / Inactive 1 9 Oct 2005 11:57pm
NVIDIA’s Pixel Shaders 3.0, ATI’s Geometry Instancing Don’t Pass DCT KingFish Technology Articles 0 7 Nov 2004 9:52pm

Go Back   Icrontic Forums > Tech: Software > General Software > Matlab Help
Jump to
This Thread Search this Thread
Search this Thread:

Advanced Search


Current time: 11:23pm (GMT)
Powered by vBulletin®
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Get Vanilla instead. Trust me.