[Eeglablist] Make new channels
Johan
johanvandermeer at gmail.com
Wed Apr 22 21:29:02 PDT 2009
Hi Bill,
Try something like this for the addition of channels 1, 3 and 5 with factors
of a, b and c:
taking care of data:
EEG.data(end+1,:) = a * EEG.data(1,:) + b * EEG.data(3,:) + c *
EEG.data(5,:);
and add 1 to this value:
EEG.nbchan = EEG.nbchan+1
and take care of the name
EEG.chanlocs(end+1).labels = 'nameofnewchannel'
Good luck,
Johan
On Tue, Apr 21, 2009 at 4:53 AM, Bill Prinzmetal <wprinz at berkeley.edu>wrote:
> Hi,
> I am a newbe to EEGLAB, but I couldn't find the answer to the
> question in the archives. I would like to make a new channel that
> would be a combination of other channels (e.g., new channel=channel
> 65 - channel 66). I am use to looking for eye movements, for
> example, by subtracting channels on either eye cannula.
> I can insert or append a channel, but that does not seem to
> do it. I take it involves a script of some sort.
> Thanks
>
> Bill
> --
>
> ******************************************
> Bill Prinzmetal
> Psychology Department
> University of California
> +++++++++++++++++++++++++++
>
> CSAIL 2009
> Information and registration: http://www.ohsu.edu/csail
> Dates: July 30 to August 3
>
> ++++++++++++++++++++++++++
>
> For activities between sessions, see: http://www.ohsu.edu/csail/billpages/
> _______________________________________________
> 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...
URL: <http://sccn.ucsd.edu/pipermail/eeglablist/attachments/20090423/63c233ef/attachment.html>
More information about the eeglablist
mailing list