<div dir="ltr">Dear Paolo,<div><br></div><div>Tell me your Matlab and EEGLAB versions. </div><div><br></div><div><span style="color:rgb(0,0,0);font-family:Calibri,Arial,Helvetica,sans-serif;font-size:14.8571424484253px">> "Subscript indices must either be real positive integers or logicals." </span><br></div><div><span style="color:rgb(0,0,0);font-family:Calibri,Arial,Helvetica,sans-serif;font-size:14.8571424484253px"><br></span></div><div><span style="color:rgb(0,0,0);font-family:Calibri,Arial,Helvetica,sans-serif;font-size:14.8571424484253px">I've seen this many times. I saw it even two days ago.</span></div><div><span style="color:rgb(0,0,0);font-family:Calibri,Arial,Helvetica,sans-serif;font-size:14.8571424484253px">As I said, most likely this is due to zero trials available for one of the within-subject conditions for at least one of the subjects.</span></div><div><span style="color:rgb(0,0,0);font-family:Calibri,Arial,Helvetica,sans-serif;font-size:14.8571424484253px"><br></span></div><div><span style="color:rgb(0,0,0);font-family:Calibri,Arial,Helvetica,sans-serif;font-size:14.8571424484253px">Here is the recommend check: create another STUDY.design in which all within-subject conditions are collapsed (you can combine them into a new condition from GUI) and let it have only group as a condition. Do the same precompute and clustering. Do you still see the problems?</span></div><div><span style="color:rgb(0,0,0);font-family:Calibri,Arial,Helvetica,sans-serif;font-size:14.8571424484253px"><br></span></div><div><span style="color:rgb(0,0,0);font-family:Calibri,Arial,Helvetica,sans-serif;font-size:14.8571424484253px">Another check, similar to above--if you have within-subject conditions A and B, create a STUDY design only with A or B, do the precompute and clustering. Where do you get the error message?</span></div><div><br></div><div>Makoto</div><div><span style="color:rgb(0,0,0);font-family:Calibri,Arial,Helvetica,sans-serif;font-size:14.8571424484253px"><br></span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Feb 10, 2015 at 8:37 AM, Juan P Medrano <span dir="ltr"><<a href="mailto:jpt73@wildcats.unh.edu" target="_blank">jpt73@wildcats.unh.edu</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">
<div style="font-size:12pt;color:#000000;background-color:#ffffff;font-family:Calibri,Arial,Helvetica,sans-serif">
<p><span style="font-size:11pt">Good morning EEGlab team,</span></p>
<p><br style="font-size:11pt">
</p>
<p><span style="font-size:11pt">Last week, I sent an email regarding some issues I'm currently having with preclustering a dataset. While running preclustering on a 2x2 STUDY design, I got the error message "some datasets do not have ICA pairs look for NaN
values in STUDY.cluster.set..." message. I am sure though that I ran the ICA on condition-unseparated data before separating out the conditions, and I did not run ICA on different within-subject conditions. To this, Mr. Miyakoshi asked me if my 2x2 design
is all within subject conditions, and to check if all subjects have non-zero trials for all combinations of conditions. My study is a mixed design, with a within subject and between subject condition. I double checked the data entry to make sure I didn't leave
out any group numbers for any participants, and I'm positive that there is no missing data.
</span></p>
<p><br style="font-size:11pt">
</p>
<p><span style="font-size:11pt">I'm not sure if this helps diagnosing the problem, but if I choose to precluster based on scalp maps or ERSPs alone, an error pops up stating that "Subscript indices must either be real positive integers or logicals." This
is the first time I've encountered this error when preclustering as well, and it happens at the same point in processing regardless of which dataset was present (I thought it may have been a problem with a specific participant dataset, removed said participant,
error just transferred to the participant right before it).</span></p>
<p><br style="font-size:11pt">
</p>
<p><span style="font-size:11pt">Thanks in advance for any help,</span></p>
<p><br style="font-size:11pt">
</p>
<p><span style="font-size:11pt">Paolo Medrano</span></p>
<p><span style="font-size:11pt">Graduate Student</span></p>
<p><span style="font-size:11pt">University of New Hampshire</span><br>
<span style="font-size:11pt"></span></p>
<p><span style="font-size:11pt"><br>
</span></p>
<p><br>
</p>
<span dir="ltr"><font color="black" size="3" face="Calibri,Arial,Helvetica,sans-serif"><span style="font-size:12pt;background-color:white"></span></font></span></div>
</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">Makoto Miyakoshi<br>Swartz Center for Computational Neuroscience<br>Institute for Neural Computation, University of California San Diego<br></div></div>
</div>