[Eeglablist] eeglablist Digest, Vol 56, Issue 1

Bill Prinzmetal wprinz at berkeley.edu
Tue Jun 2 07:19:32 PDT 2009


>
>
>    1. How do I subtract between two channels and create a	new one
>       with that result? (???)


I am a newbe too and I just asked and got this question answered, 
thanks to nice list people  (especially Brad and Emily). The command 
line:

EEG.data(71,:,: ) = EEG.data(66,:,: ) - EEG.data(65,:,: ); % EXG2 - EXG1

Gives me the difference between two channels, which for me is the 
horizontal eye movement.  In my case, channel 71 exists but was not 
used.  You can use the GUI Edit > Channel locations  to create a new 
channel if necessary.  I label it with the following command line:

EEG.chanlocs(71).labels='HEYE';  %but could do that with the GUI too.

I thank nice list people for helping me out.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sccn.ucsd.edu/pipermail/eeglablist/attachments/20090602/2f34b7cc/attachment.html>


More information about the eeglablist mailing list