[Eeglablist] Help with runica.m
marta.zakr at gmail.com
Mon Nov 2 06:06:32 PST 2015
Can you provide the code that you're using? Basing on your error message,
you might have a typo.
As for the input used by runica - you need to form your data into a channel
by frames(samples) data (of 'double' type if I remember). So in your case
this should be a 19x200000 matrix. Each row should be a channel. Then this
code should work just fine:
[weights,sphere] = runica(data)
2015-10-22 20:08 GMT+02:00 Elí Vásquez <ev.netek at gmail.com>:
> I have a question about the runica algorithm. I´ve already ran in trough
> eeglab graphical interface with no problems.
> By the way I'm using a 19ch Cognionics dry electrode headset. And I made a
> program in C# to get the signals which I then write to a CSV file, each
> column is a channel.
> Each file consists of 200000, 200 seconds at 1000 samples per second.
> Now I need to run ICA on my samples to the csv file imported to Matlab.
> And I have problems when I run the function. I get errors like these:
> Error: File: runica.m Line: 138 Column: 4
> Unbalanced or unexpected parenthesis or bracket.
> It seems that i have not specified the arguments correctly
> but then the format is the following.
> % >> [weights,sphere] = runica(data); % train using defaults
> % else
> % >> [weights,sphere,compvars,bias,signs,lrates,activations] ...
> % = runica(data,'Key1',Value1',...);
> % Input:
> % data = input data (chans,frames*epochs).
> Can you help me specify the arguments so I can run the function without
> I thank you in advance for your time.
> Eeglablist page: http://sccn.ucsd.edu/eeglab/eeglabmail.html
> To unsubscribe, send an empty email to
> eeglablist-unsubscribe at sccn.ucsd.edu
> For digest mode, send an email with the subject "set digest mime" to
> eeglablist-request at sccn.ucsd.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the eeglablist