<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">To make it short: yes you should reshape the matrix to make it 3-D. Note that, in your code, you should also select only these channels which are used for ICA<div><br></div><div>EEG.icaact = (EEG.icaweights*EEG.icasphere)*reshape(EEG.data(EEG.icachansind,:), EEG.nbchan, EEG.trials*EEG.pnts);</div><div>EEG.icaact = reshape(EEG.icaact, size(EEG.icaact,1), EEG.trials, EEG.pnts);</div><div><br></div><div>Arno</div><div><br><div><div>On Nov 17, 2014, at 12:06 PM, Yamil Vidal Dos Santos <<a href="mailto:hvidaldossantos@gmail.com">hvidaldossantos@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><div dir="ltr"><div><div><div><div><div><div><div><div>Dear all,<br></div>I would like 
to know what are each ICA realted fields on the EEG struct (such as 
icaact, icaweights, icasphere). I remember finding this in a tutorial a 
long time ago, but now I cannot find it.<br><br></div>In particular I 
would like to know this. The field EEG.icaact is usually empty and can 
be filled by using the function icaact.m or by running something like 
the following line:<br><br>EEG.icaact = (EEG.icaweights*EEG.icasphere)*reshape(EEG.data, EEG.nbchan, EEG.trials*EEG.pnts);<br><br></div>But
 the resulting matrix is 2 dimensional (with all the trials 
concatenated). Is this correct? Or should I reshape it to have 
dimensions component x time x trial.<br><br></div>I'm asking these 
because I'm trying to use an automatic classifier to mark components as 
artifactual. The paper presenting the classifier is this one: <a href="http://www.behavioralandbrainfunctions.com/content/7/1/30">http://www.behavioralandbrainfunctions.com/content/7/1/30</a><br></div>Does anyone has experience using this classifier?<br></div>Any alternative methods suggested?<br></div><br>Thanks,<br></div>Yamil Vidal Dos Santos</div>
_______________________________________________<br>Eeglablist page: <a href="http://sccn.ucsd.edu/eeglab/eeglabmail.html">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></blockquote></div><br></div></body></html>