<div dir="ltr"><div class="gmail_quote"><div dir="ltr"><div dir="ltr"><div>Dear everyone,</div><div><br></div><div>Hello,</div><div><br></div><div>I am trying to epoch a file using pop_epoch function but it gives me the following error:<br></div><div><div><br></div><div><br></div><div><font color="#ff0000">Index exceeds matrix dimensions.</font></div><div><font color="#ff0000"><br></font></div><div><font color="#ff0000">Error in pop_epoch (line 193)</font></div><div><font color="#ff0000">EEG.event = EEG.event(Itmp); % sort by ascending time</font></div></div><div><font color="#ff0000"><br></font></div><div><font color="#000000">Any idea where the problem might be?! </font></div><div><font color="#000000"><br></font></div><div><font color="#000000">There are many trigger codes like 11, 112, 21, 31, 41, 131,113, 111, 114....and I am trying to epoch based on trigger 11. Could it be that <b>11</b> code is also present at <b><u>11</u>4</b> somehow?!!! also at 113, 111, 112,....?</font></div><div><font color="#000000">I don't get the error!</font></div><div><font color="#000000"><br></font></div><div><font color="#000000">I would really appreciate if you could help.</font></div><div><font color="#000000"><br></font></div><div><font color="#000000">Thank you in advance.</font></div><div><font color="#000000"><br></font></div><div><font color="#000000">Regards,</font></div><div><font color="#000000">Maryam</font></div></div></div>
</div><br></div>