Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

eeg filter using matlab

Status
Not open for further replies.

caleigh

Newbie level 3
Joined
Jun 10, 2008
Messages
4
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,311
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(n)=(Xw(n)+(Xw(n-1))+(Xw(n-2)))/3;

figure(4)
plot(y);title ('final')
hold;

figure (5)
plot(x,'r'); title ('original signal')
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top