<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">---------- Forwarded message ---------<br>From: <strong class="gmail_sendername" dir="auto">Maryam Aghamollaie</strong> <span dir="ltr"><<a href="mailto:m.aghamollaie@gmail.com">m.aghamollaie@gmail.com</a>></span><br>Date: Sat, Sep 15, 2018 at 12:36 PM<br>Subject: Pop_epoch question<br>To:  <<a href="mailto:eeglablist@sccn.ucsd.edu">eeglablist@sccn.ucsd.edu</a>><br></div><br><br><div dir="ltr">

<div style="font-size:12.8px;text-decoration-style:initial;text-decoration-color:initial">Dear everyone,</div><div style="font-size:12.8px;text-decoration-style:initial;text-decoration-color:initial"><br></div><div style="font-size:12.8px;text-decoration-style:initial;text-decoration-color:initial">Hello,</div><span class="m_-1107671835058733854gmail-im" style="color:rgb(80,0,80);font-size:12.8px;text-decoration-style:initial;text-decoration-color:initial"><div><br></div><div>I am trying to epoch a file using pop_epoch function but it gives me the following error:<br></div></span><div style="font-size:12.8px;text-decoration-style:initial;text-decoration-color:initial"><div><br></div><span class="m_-1107671835058733854gmail-im" style="color:rgb(80,0,80)"><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></span></div><div style="font-size:12.8px;text-decoration-style:initial;text-decoration-color:initial"><font color="#ff0000"><br></font></div><div style="font-size:12.8px;text-decoration-style:initial;text-decoration-color:initial"><font color="#000000">Any idea where the problem might be?! </font></div>

<br><div>Sincerely,</div><div>Maryam</div></div>
</div></div>