<!doctype html public "-//W3C//DTD W3 HTML//EN">
<html><head><style type="text/css"><!--
blockquote, dl, ul, ol, li { padding-top: 0 ; padding-bottom: 0 }
 --></style><title>Re: eeglablist Digest, Vol 56, Issue
1</title></head><body>
<blockquote type="cite" cite><br></blockquote>
<blockquote type="cite" cite><br>
   1. How do I subtract between two channels and create
a<x-tab>       </x-tab>new
one</blockquote>
<blockquote type="cite" cite>      with that
result? (???)</blockquote>
<div><br>
<br>
</div>
<div>I am a newbe too and I just asked and got this question answered,
thanks to nice list people <font color="#000000"> (especially
Brad and Emily)</font>. The command line:</div>
<div><br></div>
<div><font color="#000000">EEG.data(71,:,: ) = EEG.data(66,:,: ) -
EEG.data(65,:,: ); % EXG2 - EXG1</font></div>
<div><font color="#000000"><br></font></div>
<div><font color="#000000">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:</font></div>
<div><font color="#000000"><br></font></div>
<div><font color="#000000">EEG.chanlocs(71).labels='HEYE';  %but
could do that with the GUI too.</font></div>
<div><font color="#000000"><br></font></div>
<div><font color="#000000">I thank nice list people for helping me
out.</font></div>
<div><font face="Times" size="-1" color="#000000"><br></font></div>
</body>
</html>