need help designing notch filter in matlab...

Status
Not open for further replies.

lesgoodfella

Newbie level 2
Joined
Sep 13, 2009
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,293
I need to design a notch filter of 51 length to eliminate 60HZ interference with a sampling rate of 360Hz.

I have a ecg for my input but i don't know how to design a filter. All i was given was that the impulse response of an ideal filter is
h = 2*(sin(w0*n) / pi*n) - impulse

do i use butter or fir1 to get my filter and then use filter() to apply to input??

Thanks
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…