Using Matlab FFT to extract frequencies from an EEG signal

I am new to BCI. I have an EEG Mindset device from Neurosky , and I write the values ​​of the source data coming from the device to a csv file. I can read and retrieve data from csv in Matlab, and I use FFT. Now I need to extract certain frequencies (Alpha, Beta, Theta, Gamma) from the FFT.

Where Delta = 1-3 Hz

Theta = 4-7 Hz

Alpha = 8-12 Hz

Beta = 13-30 Hz

Gamma = 31-40 Hz

This is what I have done so far:

f = (0:N-1)*(Fs/N);
plot(rawDouble);
title ('Raw Signal');
p = abs(fft(rawDouble));
figure,plot (f,p);
title('Magnitude of FFT of Raw Signal');

Can someone tell me how to extract these specific frequency ranges from a signal? Thank you very much!

+5
source share
3 answers

MATLAB periodogram, FFT. , .

+1

, - . .

band = [30 100] eeglocal.lowpass( (2)). highpass ( (1));

, .

That should be all you need.

0
source

All Articles