[Eeglablist] Question of ICA script

qiweijingwx qiweijingwx at 126.com
Thu Jul 7 05:43:28 PDT 2011


Dear all,

I have a problem about the script of ICA. I got two matrices: FW and mixedsig with other method.  FW is the seperating matrix, equal to EEG.icaweights in EEGlab. mixedsig is the original EEGdata. Now, i want to get the following variable using FW and mixedsig and return them to EEGlab: EEG.icaact, EEG.icawinv, EEG.icasphere, EEG.icaweights. My script is as follows:

EEG.icaweights=FW;
EEG.icasphere=eye(size(EEG.icaweights,2));
EEG.icaweights=EEG.icaweights*EEG.icasphere;
EEG.icawinv=pinv(EEG.icaweights*EEG.icasphere);
EEG.icaact=EEG.icaweights*mixedsig;

I am not sure it is correct. could you help me check it? 

Thank you very much!

Best,
allen

2011-07-07 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sccn.ucsd.edu/pipermail/eeglablist/attachments/20110707/ad5549f1/attachment.html>


More information about the eeglablist mailing list