Dear all,

I need to divide my continuous data into equal segments of 2 seconds each.

Using the function regepochs

EEG = EEG_regepochs (EEG, 'recurrence', 10, 'limits', [0 2]);

EEG = eeg_checkset( EEG );

the data are regularly segmented, but the name given to the markers is a X and not a 10 as I wrote in the script (as you can see from the attached screenshot). Since it is relevant to have a numeric marker, I was wondering if some of you knew how to deal with it.

I also tried to create a BINLISTER description file, instead of using that function.

I wrote this:

bin 1

Segmentation

.{10}{t10}

But when I run it, it seems to contain a bad numeric expression according to MATLAB.

Do you have any advice how to improve it?

Thank you a lot in advance!

More Valentina Barone's questions See All
Similar questions and discussions