Eowe
Newbie level 2
- Joined
- Aug 3, 2013
- Messages
- 2
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1
- Activity points
- 12
Guys I need to get filter function using coefficent of notch filter.First What is transfer function of notch filter?How can I use this transfer function with filter function lets say our input signal
I want to filter this input signal with filter function
Lastly how can I draw magnitude spectrum of this filter with freqz if notch frequency is 50 hertz?
Code:
t=0:dt:0.2;
x=cos(2*pi*25*t)+cos(2*pi*50*t);
Code:
y=filter(b,a,x);