caleigh
Newbie level 3
eeg fiter
my task ask to write an algorithm for filtering random noise for eeg signal..
i want to do butterworth, bandpass filter...can any body help me...
and one more thing...can anybody explain this algorithm one by one....and how to improve the filter?
please...i'm new to matlab...
v=.01
f=100;
fs=5000;
t=0:1/fs:.03
x=sin(2*pi*f*t);
figure (1)
plot (x);title ('original signal')
r=sqrt(v)*randn(1,length(t));
figure (2)
plot (r); title ('noise')
Xw=x+r;%signal plus noise (filter input)
figure(3)
plot(Xw);title('mix')
for n= 3:length(Xw),
y
=(Xw
+(Xw(n-1))+(Xw(n-2)))/3;
figure(4)
plot
;title ('final')
hold;
figure (5)
plot(x,'r'); title ('original signal')
my task ask to write an algorithm for filtering random noise for eeg signal..
i want to do butterworth, bandpass filter...can any body help me...
and one more thing...can anybody explain this algorithm one by one....and how to improve the filter?
please...i'm new to matlab...
v=.01
f=100;
fs=5000;
t=0:1/fs:.03
x=sin(2*pi*f*t);
figure (1)
plot (x);title ('original signal')
r=sqrt(v)*randn(1,length(t));
figure (2)
plot (r); title ('noise')
Xw=x+r;%signal plus noise (filter input)
figure(3)
plot(Xw);title('mix')
for n= 3:length(Xw),
y
figure(4)
plot
hold;
figure (5)
plot(x,'r'); title ('original signal')