<div dir="ltr"><br clear="all"><div>Dear all,</div><div><br></div><div>I'm encountering a problem with running ICA in Matlab. After ICA, when I tried to plot the components, Matlab keeps prompting an internal problem and needs to be closed. I wonder why this is the case. Could someone please tell me what went wrong? </div>
<div><br></div><div>Here's part of my script for ICA:</div><div><br></div><div><div> cfg = []; % if data were cleaned, then use this</div><div> </div><div> if sub == 5 %|| sub == 7</div><div> cfg.channel = {'all', '-AFz', '-FT7'};</div>
<div> elseif sub == 7</div><div> cfg.channel = {'all' '-AFz'}; </div><div> else</div><div> cfg.channel = {'all'};</div><div> end</div><div> </div>
<div> % cfg.runica.pca = 121; % using the rank of my data</div><div> % ic_data = ft_componentanalysis(cfg,cleandata); % if data were cleaned then use this</div><div> ic_data = ft_componentanalysis(cfg, cleandata);</div>
<div> </div><div> % after ICA, look for components that we want to substract from our data,</div><div> % only looking at ten channels (components) at a time</div><div> cfg = [];</div><div> cfg.dataset = rawdatafile;</div>
<div> cfg.viewmode = 'component';</div><div> cfg.continuous = 'no';</div><div> cfg.blocksize = 8;</div><div> cfg.channels = 'all';</div><div> cfg.layout = 'EEG1020.lay';</div>
<div> ft_databrowser(cfg,ic_data);</div></div><div><br></div><div><br></div><div>The internal problem appears even when I downsampled my data from 5000 Hz to 1000 Hz.</div><div><br></div><div>The internal problem appears also when I have short segments of my data (i.e. 2s per trial), and long segments of my data (i.e. 6s per trial).</div>
<div><br></div><div>The memory of my PC workstation is:</div><div><div>Maximum possible array: 60253 MB (6.318e+10 bytes) *</div><div>Memory available for all arrays: 60253 MB (6.318e+10 bytes) *</div><div>Memory used by MATLAB: 560 MB (5.872e+08 bytes)</div>
<div>Physical Memory (RAM): 32685 MB (3.427e+10 bytes)</div></div><div><br></div><div>Interestingly, this internal problem does not occur when I ran my script on my Macbook Pro.</div><div><br></div><div>I'm feeling very lost here. Any help is highly appreciated.</div>
<div><br></div><div>Cheers,</div><div>Hweeling</div><div><br></div><div><br></div><div><br></div>
</div>