<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div><br><div style="direction: ltr;"><span style="-webkit-text-size-adjust: auto;">Hi Raquel,</span></div><div style="direction: ltr;"><span style="-webkit-text-size-adjust: auto;">Thanks for the response. I run ft_read_data before and segmentation to trials. I just want to read the raw data in a matrix. Do you have any other ideas?</span></div><div style="direction: ltr;"><span style="-webkit-text-size-adjust: auto;">Thanks!</span></div><div style="direction: ltr;"><span style="-webkit-text-size-adjust: auto;">Shlomit</span></div><div style="-webkit-text-size-adjust: auto; text-align: right; direction: rtl;"><br></div></div><div style="-webkit-text-size-adjust: auto; direction: rtl; text-align: right;"><br>‫ב-23 בפבר 2015, בשעה 22:09, ‏Raquel Bibi <<a href="mailto:bibi.raquel@gmail.com">bibi.raquel@gmail.com</a>> כתב/ה:‬<br><br></div><blockquote type="cite" style="-webkit-text-size-adjust: auto;"><div><meta http-equiv="content-type" content="text/html; charset=utf-8"><div>Hi Shlomit,</div><div>I have a feeling that your file ends before your post sample. For example, if your trial definition has .2 ms pre and 1.0 post, you don't have 1000 samples after your last event.  You can use ft_read_event to confirm. </div><div><br></div><div>Best,</div><div><br></div><div>Raquel<br><br>Sent from my iPhone</div><div><br>On Feb 23, 2015, at 2:52 PM, shlomit beker <<a href="mailto:shlomitbeker@gmail.com">shlomitbeker@gmail.com</a>> wrote:<br><br></div><blockquote type="cite"><div><div dir="ltr"><span style="font-size:12.8000001907349px">Hello Fieldtrippers,</span><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">I'm using netsataion 4.5.4 of EGI  (256 sensors EEG), and use fieldtrip functions on the mff format. </div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px"> While running ft_read_data on an mff, I've encounter following bug</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px"><div><font color="#ff0000"><span style="font-size:12.8000001907349px">index exceeds matrix dimensions.</span><br style="font-size:12.8000001907349px"><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">Error in ft_read_data (line 787)</span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">        dat{end} = dat{end}(:,begsel:endsel);</span></font><br></div><div><br></div><div>Data sampling is 1000 hz. </div><div>Would appreciate your help. If any further information is needed, please ask me. <br></div><div><br></div><div>Thanks,</div></div><div><br></div><font color="#990000">-- <br></font><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><span style="font-family:garamond,serif"><span style="background-color:rgb(255,255,255)"><font color="#674ea7">Shlomit Beker, PhD</font></span></span></div><div><span style="font-family:garamond,serif"><span style="background-color:rgb(255,255,255)"><font color="#674ea7">Postdoctoral fellow, Nir lab</font></span></span></div><div><span style="font-family:garamond,serif"><span style="background-color:rgb(255,255,255)"><font color="#674ea7">Sackler Faculty of Medicine</font></span></span></div><div><span style="font-family:garamond,serif"><span style="background-color:rgb(255,255,255)"><font color="#674ea7">Tel Aviv University</font></span></span></div><div><font color="#674ea7" face="garamond, serif"><span style="background-color:rgb(255,255,255)"><br></span></font></div><div><font face="garamond, serif"><br></font></div><br></div></div></div></div></div></div></div></div>
</div>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>fieldtrip mailing list</span><br><span><a href="mailto:fieldtrip@donders.ru.nl">fieldtrip@donders.ru.nl</a></span><br><span><a href="http://mailman.science.ru.nl/mailman/listinfo/fieldtrip">http://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a></span></div></blockquote></div></blockquote><blockquote type="cite" style="-webkit-text-size-adjust: auto;"><div><span>_______________________________________________</span><br><span>fieldtrip mailing list</span><br><span><a href="mailto:fieldtrip@donders.ru.nl">fieldtrip@donders.ru.nl</a></span><br><span><a href="http://mailman.science.ru.nl/mailman/listinfo/fieldtrip">http://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a></span></div></blockquote></body></html>