Help not sure what I am doing! need a starting point for digital filters

Hi there, I am a student research who has just collected some raw EEG data from participants in my study. I was told that I need to preform two different things to my data (1) an eightieth-order band-pass FIR digital filter between .3Hz and 60 Hz (2) an eightieth-order band-stop FIR digital filter between 58 Hz and 62Hz
I am in way over my head here and do not know where to even start...I was hoping that you may be able to give me some directions Thanks in advance Courtney

 채택된 답변

Courtney,
If you have signal processing toolbox, you can start with :
% Band pass
b = fir1(8,[0.03 0.60]);
r=randn(500,1); % as EEG signal
y=filter(b,1,r);
figure, psd(y);
% Band stop
b = fir1(8,[0.03 0.60],'stop');
r=randn(500,1); % as EEG signal
y=filter(b,1,r);
figure, psd(y);

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 EEG/MEG/ECoG에 대해 자세히 알아보기

질문:

2013년 10월 26일

댓글:

2013년 10월 26일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by