<div dir="ltr"><div>Hi James, </div><div>Can you please submit a bug report to Bugzilla (<a href="https://sccn.ucsd.edu/bugzilla/">https://sccn.ucsd.edu/bugzilla/</a>) so we can take a look in this?</div><div> It would be good if you can provide us a piece of data good enough to replicate the issue in our environment, as well as a detailed description on how to reproduce it.</div><div> Thanks,</div><div> Ramon</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Nov 30, 2014 at 1:19 PM, James Bonello <span dir="ltr"><<a href="mailto:jamesbonello9@gmail.com" target="_blank">jamesbonello9@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><span style="font-family:arial,sans-serif;font-size:13px">Hi EEGLablist,</span><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">I am trying to calculate the PSD value for a range of frequencies, for 23 channels. I do this for 1799 epochs, for 42 hours. I will then repeat this for 24 patients. I am using CHB-MIT EEG data.</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">I implemented a for loop which calls the spectopo function and stores the required values in a 23 x 1799 x 42. Indeed, the for loop, loops over the number of hours and for each hour it loops over the number of epochs and then for each channel, the spectopo function is called and the values are stored accordingly.</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">Spectopo gets the required psd values well even though this is taking hours to calculate (have not considered parallelisation yet), but during the 25th hour this error that I don't know how to fix pops up:</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div><div><font face="arial, sans-serif">Improper assignment with rectangular empty matrix.</font></div><div><font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif">Error in spectopo (line 471)</font></div><div><font face="arial, sans-serif"><span style="white-space:pre-wrap"> </span>reallimits(1) = min(min(eegspecdB(:,minfreqidx:maxfreqidx)));</font></div><div><font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif">I tried to see if there was anything wrong with the data for the 25th hour but everything seems fine. Taking a look at line 471, I couldn't find anything out of the ordinary but then again I found it hard to understand what exactly is happening during this line. Moreover, the "Improper assignment" error does not make sense, I was not trying to assign an empty matrix anywhere in my code. In fact the 23x1799x42 matrix assignment happens outside of the code. Can anyone please shed any insight on this matter? I will greatly appreciate any help given! </font></div><div><font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif">Thank you.</font></div></div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">Regards,</div><span class="HOEnZb"><font color="#888888"><div><br></div>-- <br><div><b><i>James Bonello</i></b></div>
</font></span></div>
<br>_______________________________________________<br>
Eeglablist page: <a href="http://sccn.ucsd.edu/eeglab/eeglabmail.html" target="_blank">http://sccn.ucsd.edu/eeglab/eeglabmail.html</a><br>
To unsubscribe, send an empty email to <a href="mailto:eeglablist-unsubscribe@sccn.ucsd.edu">eeglablist-unsubscribe@sccn.ucsd.edu</a><br>
For digest mode, send an email with the subject "set digest mime" to <a href="mailto:eeglablist-request@sccn.ucsd.edu">eeglablist-request@sccn.ucsd.edu</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><span style="color:rgb(136,136,136)">_____________________________________________________</span><br></div><div><span style="color:rgb(136,136,136)">Ramon Martinez-Cancino</span></div><span style="color:rgb(136,136,136)">Swartz Center for Computational Neuroscience</span><br style="color:rgb(136,136,136)"><span style="color:rgb(136,136,136)">Institute for Neural Computation, University of California San Diego</span><br></div></div>
</div>