MATLAB: How to bandpass eeg data

bandpasseeg

Hi. I want to get the maximum amplitude of frequency values of mu and beta rythms from the eeg signal of bci competition ii dataset iii.The signal is sampled with fs=128Hz.I think that this should be done with bandpass filter, so my question is how can i implement this?

Best Answer

You will need two filters, one for each EEG band. Filter the EEG in parallel with them. Remember that for a band-pass filter, the stop-bands have to be outside (less than an greater than, respectively) of the pass-band frequencies. You will have to experiment to get the result you want. With such a low sampling frequency and narrow pass-bands for those EEG bands, a Chebyshev Type II filter would be my choice, with a pass-band ripple of 5 dB or less and a stop-band ripple of 50 dB or less.