<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Times New Roman; font-size: 12pt; color: #000000'>Hi Phyllis,<div><br></div><div>This error occurs when the input data is rank deficient, see: <a href="http://fieldtrip.fcdonders.nl/faq/why_does_my_ica_output_contain_complex_numbers">http://fieldtrip.fcdonders.nl/faq/why_does_my_ica_output_contain_complex_numbers</a></div><div><br></div><div>Try to exclude the reference channel of your EEG (which is a linear combination of other EEG channels and can produce the rank deficiency) or ask runinca N independent components being N the rank of your data</div><div><br></div><div>best,</div><div><br></div><div>Diego<br><br><hr id="zwchr"><blockquote style="border-left:2px solid rgb(16, 16, 255);margin-left:5px;padding-left:5px;"><b>From: </b>"Phyllis Mania" <phyllis.mania@uni-hamburg.de><br><b>To: </b>fieldtrip@science.ru.nl<br><b>Sent: </b>Wednesday, 16 October, 2013 6:09:03 PM<br><b>Subject: </b>[FieldTrip] error with runica<br><br><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.E-MailFormatvorlage17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--><div class="WordSection1"><p class="MsoNormal">Dear all,</p><p class="MsoNormal"> </p><p class="MsoNormal"><span lang="EN-US">I have a problem with running an ICA in one of my subjects (EEG, 70 channels, 878 trials), even though it was preprocessed exactly like all others (same number of channels, similar number of trials). When calling ft_componentanalysis with ‘runica’ the learning rate gets as low as 3.09032e-05 before it actually starts with step 1. It takes up to 512 steps (very slowly) but the lrate never changes from 0 after the first few steps while the angledelta is constant at 22.3.</span></p><p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal"><span lang="EN-US">In the the end I get the following warning:</span></p><p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal"><span lang="EN-US" style="font-family:"Courier New"">Warning: Matrix is close to singular or badly scaled. Results may be inaccurate. RCOND = 1.190323e-16.</span></p><p class="MsoNormal"><span lang="EN-US" style="font-family:"Courier New"">> In runica at 1430</span></p><p class="MsoNormal"><span lang="EN-US" style="font-family:"Courier New"">In ft_componentanalysis at 463</span></p><p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal"><span lang="EN-US">When trying to plot the components with ft_topoplotTFR only one black & white head shows up and the following error:</span></p><p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal"><span lang="EN-US" style="font-family:"Courier New"">Error using surf (line 75)</span></p><p class="MsoNormal"><span lang="EN-US" style="font-family:"Courier New"">X, Y, Z, and C cannot be complex.</span></p><p class="MsoNormal"><span lang="EN-US" style="font-family:"Courier New""> </span></p><p class="MsoNormal"><span lang="EN-US" style="font-family:"Courier New"">Error in ft_plot_topo (line 251)</span></p><p class="MsoNormal"><span lang="EN-US" style="font-family:"Courier New"">  h = surf(Xi-deltax/2,Yi-deltay/2,zeros(size(Zi)), Zi, 'EdgeColor', 'none', 'FaceColor', shading);</span></p><p class="MsoNormal"><span lang="EN-US" style="font-family:"Courier New""> </span></p><p class="MsoNormal"><span lang="EN-US" style="font-family:"Courier New"">Error in topoplot_common (line 704)</span></p><p class="MsoNormal"><span lang="EN-US" style="font-family:"Courier New"">  ft_plot_topo(chanX,chanY,datavector,'interpmethod',cfg.interpolation,...</span></p><p class="MsoNormal"><span lang="EN-US" style="font-family:"Courier New""> </span></p><p class="MsoNormal"><span lang="EN-US" style="font-family:"Courier New"">Error in ft_topoplotTFR (line 185)</span></p><p class="MsoNormal"><span lang="EN-US" style="font-family:"Courier New"">[cfg] = topoplot_common(cfg, varargin{:});</span></p><p class="MsoNormal"><span lang="EN-US" style="font-family:"Courier New""> </span></p><p class="MsoNormal"><span lang="EN-US" style="font-family:"Courier New"">Error in ft_topoplotIC (line 148)</span></p><p class="MsoNormal"><span lang="EN-US" style="font-family:"Courier New"">    ft_topoplotTFR(cfg, varargin{:});</span></p><p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal"><span lang="EN-US">Running ‘fastica’ seems to work fine. I read about the issue with some 64 bit computers but the workaround with pop_runica didn’t work for me.</span></p><p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal"><span lang="EN-US">Thank you in advance!</span></p><p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal"><span lang="EN-US">Best,</span></p><p class="MsoNormal"><span lang="EN-US">Phyllis</span></p></div><br>_______________________________________________<br>fieldtrip mailing list<br>fieldtrip@donders.ru.nl<br>http://mailman.science.ru.nl/mailman/listinfo/fieldtrip</blockquote><br><br><br>-- <br><div><span name="x"></span>PhD Student<br>Neuronal Oscillations Group<br>Donders Institute for Brain, Cognition and Behaviour <br>Centre for Cognitive Neuroimaging<br>Radboud University Nijmegen <br>NL-6525 EN Nijmegen<br>The Netherlands<br>http://www.ru.nl/people/donders/lozano-soldevilla-d/<span name="x"></span><br></div></div></div></body></html>