[Eeglablist] How can split a continuous register in epoched data

Germano Gallicchio germano.gallicchio at gmail.com
Thu Jul 2 01:46:10 PDT 2015

Hi Mateu,

  you can use eeg_regepochs(). It splits a continuous recording in several
epochs of a defined length.
For example, if you want to create epochs of 2 seconds:
   EEG = eeg_regepochs(EEG, 'recurrence', 2, 'rmbase', NaN);
Type help eeg_regepochs for more info.

  On a side note, you might want to check Makoto's plugin for rejection of
portions of continuous data:

All the best,

On 30 June 2015 at 10:42, Mateu Servera <mservera at gmail.com> wrote:

> Hi,
> My problem seems simple but (I'm sorry) have not found the solution in the
> tutorial. I have a continuous record of 2 minutes and I want to analyze by
> epochs of 2 seconds. That is, once I loaded the entire record I want to
> divide approximately in 180/2 = 90 epochs, and then analyze data by epochs
> to select or eliminate those with artifacts.
> I have found how to deal with epoched data previously defined during the
> recording, but not *a posteriori*.
> Thanks
> Mateu
> _______________________________________________
> Eeglablist page: http://sccn.ucsd.edu/eeglab/eeglabmail.html
> To unsubscribe, send an empty email to
> eeglablist-unsubscribe at sccn.ucsd.edu
> For digest mode, send an email with the subject "set digest mime" to
> eeglablist-request at sccn.ucsd.edu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sccn.ucsd.edu/pipermail/eeglablist/attachments/20150702/b3a82e0d/attachment.html>

More information about the eeglablist mailing list