Hi all
I am completely new to Matlab and EEG, and I've encountered an issue while I was trying to slice a continuous data with no marker captured using Emotiv Epoc+. I am using Matlab R2017b (9.3.0.713579) and EEGLab v14.1.1
This was what I did:
Export a five minutes recording from EmotivPro as EDF file. I do not have any marker so this is considered a continuous data.Open EEGlab, select File -> Import data -> Using eeg functions and plugins -> From EDF/EDF+/GDF files (BIOSIG toolbox)Channel list = 3:16 ; Data range = [90 300], others were all set to default.After imported, set channel location with .ced file.Now the panel showed Channel per frame: 14, Frames per epoch: 26880, Epochs: 1, Events: None, Sampling rate: 128, epoch start: 0.000, epoch end: 209.992. References: Unknown, Channel locations: YesNext I went back to console and type EEGout = eeg_regepochs(EEG, 3), the console showed The input dataset will be split into 69 epochs of 1 s
Epochs will overlap by -200%.
Inserting 69 type 'X' events: .......................................40
.............................
Sorting the event table.
Splitting the data into 69 1.00-s epochs
pop_epoch():69 epochs selected
Epoching...
pop_epoch():69 epochs generated
pop_epoch(): checking epochs for data discontinuity
So I went back to eeglab and import the EEGout through File -> Import data -> Using eeg functions and plugins -> From ASCII/float files or Matlab arrayIn the dialogue box, I typed in EEGout, sampling rate = 128, number of channels = 14, and Channel location file = the .ced fileHowever, when I hit OK, an it showed that eeg_checkset note: upper time limit (xmax) adjusted so (xmax-xmin)*srate+1 = number of framesThen in the overview window, it showed Channel per frame: 1, Frames per epoch: 0, Epochs: 0, Events: None, Sampling rate: 128, epoch start: 0.000, epoch end: -0.008. References: Unknown, Channel locations: YesI've spent a whole day on this and cannot figure how it works. Please let me know how I am able to slice a continuous EEG file with a fixed time frame (no marker)
Thanks
Steven Dong