Eowe
Newbie level 2
- Joined
- Aug 3, 2013
- Messages
- 2
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1
- Activity points
- 12
I try to get a first order notch filter at 50hz and Sampling frequency(Fs) 200 Hz in Matlab I wrote some code but didn't work
How can do that
Code:
dt=1/200; //1/fs
t=0:dt:0.2;
x=cos(2*pi*25*t)+cos(2*pi*50*t);
y=filter(x,------); //I dont know what I must write here
plot(Y(w)); //I must write here laplace of y(w)
How can do that