Can't Run ICA EEGLab

13 visualizaciones (últimos 30 días)
Alina Shevtsova
Alina Shevtsova el 17 de Abr. de 2019
Respondida: Arnaud Delorme el 1 de Mayo de 2019
Hello everyone!
We have troubles running the ICA. The following error occurs:
Error using sqrtm (line 35)
Expected input to be finite.
Error in runica (line 749)
sphere = 2.0*inv(sqrtm(double(cov(data')))); % find the "sphering" matrix = spher()
Error in pop_runica (line 399)
[EEG.icaweights,EEG.icasphere] = runica( tmpdata, 'lrate', 0.001, g.options{:} );
Visual inspection did not show any abonormalities in that file and the rest of the files are running fine! What could be the issue here?
Any info will be greatly appreciated! Thanks in advance!

Respuestas (1)

Arnaud Delorme
Arnaud Delorme el 1 de Mayo de 2019
Dear Alina,
This might be because you have linear dependencies in your input data. Could you try something like
[EEG.icaweights,EEG.icasphere] = runica( rand(20,10000), 'lrate', 0.001);
Best wishes,
Arno

Categorías

Más información sobre Surface and Mesh Plots en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by