[Eeglablist] Dividing datasets into halves

Arnaud Delorme arno at ucsd.edu
Wed Nov 20 08:54:40 PST 2013


Dear Magda,

after you use the EEGLAB graphic interface to divide your dataset, look at the EEGLAB history using the "eegh" command. The last line will contain the command you will need to perform the same operation in a script.

Best,

Arno

On Nov 11, 2013, at 4:42 AM, Magda Gawłowska <mag.gawlowska at gmail.com> wrote:

> Dear EEGlab Users,
> 
> I'm quite new to Matlab scripting as I was previously using only GUI version of EEGLab. I was wondering if you can help me with scripting problem. I suppose it's not very complicated, but I have a hard time with finding the solution.
> 
> So, here we go - I  have segmented datasets with different number of events in each one. I wanted to divide sets into halves and save them as the 1st and the 2nd half. Up until now I've been doing it by simply using: Eidt -> select data -> epoch range, but it takes ages to do it manually. Is there any way to do it using script, so that Matlab checks number of events in every dataset at first, and then takes the 1st and 2nd half separately?
> 
> I would be grateful for any help!
> 
> Greetings,
> 
> 
> Magda
> 
> _______________________________________________
> 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





More information about the eeglablist mailing list