Extracting Motor imagery data from gdf file using BCILAB/Matlab
Need Help Please 
I'm using the "A01T.gdf" file from the BCICIV_2a dataset.
I loaded the data of channel # 10 (Cz) to work on it using the BCILab scripts.
The data is loaded in a matrix 1x672528.
My problem is that I don't know how to extract the part of motor imagery action from the matrix.
Event | Description | Type |
276 | Idling EEG (eyes open) | 0x0114 |
277 | Idling EEG (eyes closed) | 0x0115 |
768 | Start of a trial | 0x0300 |
769 | Cue onset left (class 1) | 0x0301 |
770 | Cue onset right (class 2) | 0x0302 |
771 | Cue onset foot (class 3) | 0x0303 |
772 | Cue onset tongue (class 4) | 0x0304 |
783 | Cue unknown | 0x030F |
1023 | Rejected trial | 0x03FF |
1072 | Eye movements | 0x0430 |
32766 | Start of a new run | 0x7FFE |
(I need to extract the motor imagery data and exclude unnecessary data of cues & rests)
[I'm new to matlab, I don't know how to split a matrix according to specific value]
Thanx in advance
Comments