<div dir="ltr">Hi Tahani,<br><br>Based on your description of your dataset, it sounds like it might not be necessary to use variable length epochs--if you are interested in the ERP relative to the<br>onset of the stimulus, people often used a fixed epoch duration around that stimulus even if the participant's response had a variable latency. (I think the same often applies to response-locked ERPs, although I'm less familiar with those.)<br>
<br>That being said, if you really do need to use epochs of variable lengths.... I'm not sure if it's straigthforward to do within EEGLAB (it might be possible, I'm just not aware of ways to do it; this message on the eeglablist [<a href="http://sccn.ucsd.edu/pipermail/eeglablist/2008/002587.html">http://sccn.ucsd.edu/pipermail/eeglablist/2008/002587.html</a>] suggests that it's not possible to do in one dataset, but it's an old message so things may have changed.) Fieldtrip, however, does allow epochs of varying length (<a href="http://fieldtrip.fcdonders.nl/faq/what_is_the_relation_between_events_such_as_triggers_and_trials">http://fieldtrip.fcdonders.nl/faq/what_is_the_relation_between_events_such_as_triggers_and_trials</a>), and I think ERPLAB (<a href="http://erpinfo.org/erplab">http://erpinfo.org/erplab</a>) might as well (but I have not used the latter, so I can't guarantee).<br>
<br>Best,<br>Steve<br><br><br>On Mon, Jun 24, 2013 at 12:33 AM, T. Almabruk <<a href="mailto:t.almabruk@yahoo.com">t.almabruk@yahoo.com</a>> wrote:<br>><br>> Dear Makoto<br>>  <br>> I want to know if there is a possibilities to extract epochs with inconstant lengths.<br>
> I have a continues EEG dataset where the participant can spend as long time as he/she wants before responding (press the button) to the presented stimuli. So based on that, this dataset contains  stimuli with very quick responses and others with very late responses(in some cases more than 2.5 min).<br>
> Can you please suggest me how to deal with this case<br>>  <br>> Cheers,<br>> Tahani</div>