Thanks to Linsandro, Sukru, and Javieor.<div><br></div><div>I understand that it is possible to compute the waveforms with the matlab, but I was just looking for a more convenient way to do it. I kind of get the idea of subtracting between channels with the re-referencing function, but is not clear enough.  I will probably have to go through the tutorial again.</div>
<div><br></div><div><b>The toolbox Javier sent me seems perfect for the job, but some how I am facing error messages as shown below.  Could you give me a hand with starting the GUI?</b></div><div><b><br></b></div><div>Thank you all for the generous help.</div>
<div>==========</div><div><div>EEG = pop_chanoperator(EEG);</div><div>??? Undefined function or variable 'geterplabversion'.</div><div><br></div><div>Error in ==> chanoperGUI>chanoperGUI_OpeningFcn at 68</div>
<div>version = geterplabversion;</div><div><br></div><div>Error in ==> gui_mainfcn at 210</div><div>    feval(gui_State.gui_OpeningFcn, gui_hFigure, [], guidata(gui_hFigure), varargin{:});</div><div><br></div><div>Error in ==> chanoperGUI at 43</div>
<div>    [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});</div><div><br></div><div>Error in ==> pop_chanoperator at 76</div><div>        answer = chanoperGUI ;</div><div><br></div><div>>> EEG = pop_chanoperator(EEG);</div>
<div>??? Undefined function or variable 'geterplabversion'.</div><div><br></div><div>Error in ==> chanoperGUI>chanoperGUI_OpeningFcn at 68</div><div>version = geterplabversion;</div><div><br></div><div>Error in ==> gui_mainfcn at 210</div>
<div>    feval(gui_State.gui_OpeningFcn, gui_hFigure, [], guidata(gui_hFigure), varargin{:});</div><div><br></div><div>Error in ==> chanoperGUI at 43</div><div>    [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});</div>
<div><br></div><div>Error in ==> pop_chanoperator at 76</div><div>        answer = chanoperGUI ;</div><div>=======================</div><br><div class="gmail_quote">2009/6/2 Javier Lopez <span dir="ltr"><<a href="mailto:javlopez@ucdavis.edu">javlopez@ucdavis.edu</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div style="word-wrap:break-word">
<div><font face="Verdana">  <div><span lang="ES-TRAD">Hi,</span></div> <div><span lang="ES-TRAD"> </span></div> <div><span lang="ES-TRAD">We are currently developing an ERP toolbox that has functions for these types of operations. Please visit  <a href="http://www.erpinfo.org/erplab/erplab-toolbox/view" target="_blank"><span style="color:windowtext;text-decoration:none">http://www.erpinfo.org/erplab/erplab-toolbox/view</span></a> .</span></div>
 <div><span lang="ES-TRAD">  </span></div> <div><span lang="ES-TRAD">For instance,  pop_chanoperator.m, chanoperator.m, and its GUI, could help and I've attached these to this e-mail.</span></div> <div><span lang="ES-TRAD"> </span></div>
 <div><span lang="ES-TRAD">Copy them (these m-files?) into your current directory.</span></div> <div><span lang="ES-TRAD"> </span></div> <div><span lang="ES-TRAD">For now (before the public ERPLAB release), you should open EEGLAB, load your dataset, and then write the following at the command window:</span></div>
 <div><span lang="ES-TRAD"> </span></div> <div><span lang="ES-TRAD">EEG = pop_chanoperator(EEG);</span></div> <div><span lang="ES-TRAD"> </span></div> <div><span lang="ES-TRAD">and you will see a GUI. Edit your formula(s) (you can click on examples to see the syntax).  In order to save your data with the newly created channels, go to EEGLAB File Menu, and click on Save current dataset as.  </span></div>
 <div><span lang="ES-TRAD"> </span></div> <div><span lang="ES-TRAD">Feedback is welcome.</span></div><div><br></div><div><br></div><div>Best regards,</div><div><br></div><font color="#888888"><div><br></div><div>Javier</div>
<div><br></div><div><br></div><div><span></span></div></font></font></div></div><br><div style="word-wrap:break-word"><div><font face="Verdana"><div><span></span></div><div><span></span></div></font></div></div><br><div style="word-wrap:break-word">
<div><font face="Verdana"><div><span></span></div><div><span></span></div></font></div></div><br><div style="word-wrap:break-word"><div><font face="Verdana"><div><span></span></div><div><span></span></div></font></div></div>
<br><div style="word-wrap:break-word"><div><font face="Verdana"><div><span></span></div>  </font></div><div><br></div><div><span></span></div></div><br><div style="word-wrap:break-word"><div><span></span></div><br><div><div>
On Jun 1, 2009, at 7:02 AM, ÀÌÀç¿ë wrote:</div><br><blockquote type="cite"><div><b>How do I subtract or summate between two channels and create a new one with that result?</b></div><div><br></div><div>I am a newbie with EEGLAB.  I guess one way to get a difference waveform is to export the processed EEG dataset and compute it with some other tools, like the excel or matlab.  Adding or subtracting between channels seems to be a quite simple function, but I can't find it within the EEGLAB.  Could anyone show me a decent way to do this using the EEGLAB toolbox?</div>
 Thanks a lot in advance.<br><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">_______________________________________________</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
Eeglablist page: <a href="http://sccn.ucsd.edu/eeglab/eeglabmail.html" target="_blank">http://sccn.ucsd.edu/eeglab/eeglabmail.html</a></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">To unsubscribe, send an empty email to <a href="mailto:eeglablist-unsubscribe@sccn.ucsd.edu" target="_blank">eeglablist-unsubscribe@sccn.ucsd.edu</a></div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">For digest mode, send an email with the subject "set digest mime" to <a href="mailto:eeglablist-request@sccn.ucsd.edu" target="_blank">eeglablist-request@sccn.ucsd.edu</a></div>
 </blockquote></div><div><span style="border-collapse:separate;color:rgb(0, 0, 0);font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><span style="border-collapse:separate;color:rgb(0, 0, 0);font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px"><br></div></div></span></span></div></div><br></blockquote></div><br><br clear="all"><br>-- <br>Sincerely, <br>Jaeyong Lee<br><br>mobile + 82 (0)10 2238 0678<br>
Seoul, KOREA<br>
</div>