<div dir="ltr"><div class="gmail_default" style="color:rgb(51,51,153)">Greetings David,</div><div class="gmail_default" style="color:rgb(51,51,153)">hope this might help you: what it seems you need is an</div><div class="gmail_default" style="color:rgb(51,51,153)">

interpolating function. Check the specifications which</div><div class="gmail_default" style="color:rgb(51,51,153)">should help you decide what to enter into the function.</div><div class="gmail_default" style="color:rgb(51,51,153)">

Double-check that you re-reference appropriately</div><div class="gmail_default" style="color:rgb(51,51,153)">before interpolating, and that you're not including too many</div><div class="gmail_default" style="color:rgb(51,51,153)">

bad channels around the reference of course. </div><div class="gmail_default" style="color:rgb(51,51,153)">You can search all of the below on google in </div><div class="gmail_default" style="color:rgb(51,51,153)">case the links don't come through for the function descriptions</div>

<div class="gmail_default" style="color:rgb(51,51,153)">and for the eeglab list queries listed below.</div><div class="gmail_extra"><br clear="all"><div><div dir="ltr"><h3 class="" style="font-size:medium;font-weight:normal;margin:0px;padding-top:0px;padding-right:0px;padding-left:0px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-family:arial,sans-serif">

<a href="http://sccn.ucsd.edu/eeglab/allfunctions/eeg_interp.m" style="color:rgb(102,0,153)">eeg_interp.m</a></h3><div class="" style="max-width:42em;color:rgb(84,84,84);font-family:arial,sans-serif;line-height:15px"><div class="" style="color:rgb(119,119,119);margin-bottom:1px;white-space:nowrap">

<cite class="" style="color:rgb(0,128,42);font-style:normal;font-size:14px"><a href="http://sccn.ucsd.edu/">sccn.ucsd.edu/</a><b>eeglab</b>/all<b>functions</b>/eeg_interp.m</cite></div><div class="" style="color:rgb(119,119,119);margin-bottom:1px;white-space:nowrap">

<h3 class="" style="font-size:medium;font-weight:normal;margin:0px;padding-top:0px;padding-right:0px;padding-left:0px;overflow:hidden;text-overflow:ellipsis;color:rgb(34,34,34)"><a href="http://code.google.com/p/eeglab/source/browse/eeglab/functions/popfunc/pop_interp.m?r=9707" style="color:rgb(102,0,153)">pop_interp.m - <em style="font-weight:bold;font-style:normal">eeglab</em> - Advanced EEG/MEG signal processing <b>...</b></a></h3>

<div class="" style="max-width:42em;color:rgb(84,84,84);white-space:normal"><div class="" style="color:rgb(119,119,119);margin-bottom:1px;white-space:nowrap"><cite class="" style="color:rgb(0,128,42);font-style:normal;font-size:14px"><a href="http://code.google.com/p/">code.google.com/p/</a><b>eeglab</b>/source/.../<b>eeglab</b>/<b>functions</b>/.../pop_interp.m?r...</cite></div>

<div class="" style="color:rgb(119,119,119);margin-bottom:1px;white-space:nowrap"><br></div></div></div><div class="" style="color:rgb(119,119,119);margin-bottom:1px;white-space:nowrap"><br></div><div class="" style="color:rgb(119,119,119);margin-bottom:1px;white-space:nowrap">

<br></div><div class="" style="color:rgb(119,119,119);margin-bottom:1px;white-space:nowrap"><h3 class="" style="font-size:medium;font-weight:normal;margin:0px;padding-top:0px;padding-right:0px;padding-left:0px;overflow:hidden;text-overflow:ellipsis;color:rgb(34,34,34)">

<a href="http://sccn.ucsd.edu/pipermail/eeglablist/2012/004797.html" style="color:rgb(102,0,153)">[<em style="font-weight:bold;font-style:normal">Eeglablist</em>] Question regarding use of <em style="font-weight:bold;font-style:normal">interpolation function</em></a></h3>

<div class="" style="max-width:42em;color:rgb(84,84,84);white-space:normal"><div class="" style="color:rgb(119,119,119);margin-bottom:1px;white-space:nowrap"><cite class="" style="color:rgb(0,128,42);font-style:normal;font-size:14px"><a href="http://sccn.ucsd.edu/pipermail/">sccn.ucsd.edu/pipermail/</a><b>eeglablist</b>/2012/004797.html</cite><div class="" style="display:inline;margin:0px 3px;vertical-align:middle">

<a href="https://www.google.com/search?client=safari&rls=en&q=EEGLAB+function+interpolate&ie=UTF-8&oe=UTF-8#" class="" id="am-b0" style="border-top-left-radius:0px;border-top-right-radius:0px;border-bottom-right-radius:0px;border-bottom-left-radius:0px;font-size:11px;font-weight:bold;height:12px;line-height:27px;margin:0px;min-width:0px;padding:0px;text-align:center;background-color:white;background-image:none;border:0px;color:rgb(68,68,68);display:inline-block;width:13px;text-decoration:none"><span class="" style="border-color:rgb(0,128,42) transparent;border-style:solid;border-width:4px 4px 0px;width:0px;height:0px;margin-left:3px"></span></a><div class="" tabindex="-1" style="border:1px solid rgba(0,0,0,0.199219);font-size:13px;padding:0px">

<ul style="margin:0px;padding:0px;border:0px"><li class="" style="margin:0px;padding:0px;border:0px;line-height:1.2;list-style:none"><a href="http://webcache.googleusercontent.com/search?q=cache:XmTHQBXEe0UJ:sccn.ucsd.edu/pipermail/eeglablist/2012/004797.html+&cd=1&hl=en&ct=clnk&gl=us&client=safari" class="" style="color:rgb(51,51,51);text-decoration:none;display:block;padding:7px 18px;outline:0px"></a></li>

<li class="" style="margin:0px;padding:0px;border:0px;line-height:1.2;list-style:none"><a href="https://www.google.com/search?client=safari&rls=en&q=related:sccn.ucsd.edu/pipermail/eeglablist/2012/004797.html+EEGLAB+function+interpolate&tbo=1&sa=X&ei=Y7yCUo2rMYbMsQTfkoCABA&ved=0CDAQHzAA" class="" style="color:rgb(51,51,51);text-decoration:none;display:block;padding:7px 18px;outline:0px"></a></li>

<li class="" style="margin:0px;padding:0px;border:0px;line-height:1.2;list-style:none"><div class="" tabindex="-1" style="color:rgb(51,51,51);padding:7px 18px;outline:0px"></div></li></ul></div></div></div><div class="" style="color:rgb(119,119,119);margin-bottom:1px">

</div><span class="" style="line-height:1.24"><span class="" style="color:rgb(119,119,119)">Apr 14, 2012 - </span>[<em style="font-weight:bold;font-style:normal">Eeglablist</em>] Question regarding use of <em style="font-weight:bold;font-style:normal">interpolation function</em>. Thu Apr 5 13:58:43 PDT 2012. Previous <b>...</b></span><div class="" style="color:rgb(119,119,119);display:table;white-space:nowrap;margin:5px 0px">

<div class="" style="display:table-row;vertical-align:top"><div class="" style="display:table-cell"><a href="http://sccn.ucsd.edu/pipermail/eeglablist/2011/004122.html" class="" style="color:rgb(37,24,181);text-decoration:none">problem <b>interpolating</b> channels</a></div>

<div class="" style="display:table-cell;padding-left:15px;vertical-align:top">Jun 21, 2011</div></div><div class="" style="display:table-row;vertical-align:top"><div class="" style="display:table-cell"><a href="http://sccn.ucsd.edu/pipermail/eeglablist/2011/003951.html" class="" style="color:rgb(37,24,181);text-decoration:none">rejecting/<b>interpolating</b> bad channels?</a></div>

<div class="" style="display:table-cell;padding-left:15px;vertical-align:top">May 11, 2011</div></div><div class="" style="display:table-row;vertical-align:top"><div class="" style="display:table-cell"><a href="http://sccn.ucsd.edu/pipermail/eeglablist/2007/001945.html" class="" style="color:rgb(37,24,181);text-decoration:none"><b>interpolating</b> bad channels (eeg_interp() )</a></div>

<div class="" style="display:table-cell;padding-left:15px;vertical-align:top">Oct 1, 2007</div></div><div class="" style="display:table-row;vertical-align:top"><div class="" style="display:table-cell"><a href="http://sccn.ucsd.edu/pipermail/eeglablist/2006/001228.html" class="" style="color:rgb(37,24,181);text-decoration:none"><b>interpolating</b> bad electrodes</a></div>

<div class="" style="display:table-cell;padding-left:15px;vertical-align:top">Jan 22, 2006</div></div><div class="" style="display:table-caption;caption-side:bottom"><div class="" style="display:table-cell"><a href="https://www.google.com/search?q=EEGLAB+function+interpolate+site:sccn.ucsd.edu&client=safari&rls=en" class="" style="color:rgb(37,24,181);text-decoration:none">More results from sccn.ucsd.edu</a><br>

<br><br><br><span style="color:rgb(51,51,153);font-family:arial;line-height:normal;white-space:normal">The reref function on the other hand is rereferencing the data.</span><br><h3 class="" style="font-size:medium;font-weight:normal;margin:0px;padding-top:0px;padding-right:0px;padding-left:0px;overflow:hidden;text-overflow:ellipsis;color:rgb(34,34,34)">

<a href="http://sccn.ucsd.edu/eeglab/allfunctions/pop_reref.html" style="color:rgb(102,0,153)">pop_reref</a></h3><div class="" style="max-width:42em;color:rgb(84,84,84);white-space:normal"><div class="" style="color:rgb(119,119,119);margin-bottom:1px;white-space:nowrap">

<cite class="" style="color:rgb(0,128,42);font-style:normal;font-size:14px"><a href="http://sccn.ucsd.edu/">sccn.ucsd.edu/</a><b>eeglab</b>/allfunctions/pop_reref.html</cite><div class="" style="display:inline;margin:0px 3px;vertical-align:middle">

<a href="https://www.google.com/search?client=safari&rls=en&q=EEGLAB+function+interpolate&ie=UTF-8&oe=UTF-8#" class="" id="am-b2" style="border-top-left-radius:0px;border-top-right-radius:0px;border-bottom-right-radius:0px;border-bottom-left-radius:0px;font-size:11px;font-weight:bold;height:12px;line-height:27px;margin:0px;min-width:0px;padding:0px;text-align:center;background-color:white;background-image:none;border:0px;color:rgb(68,68,68);display:inline-block;width:13px;text-decoration:none"><span class="" style="border-color:rgb(0,128,42) transparent;border-style:solid;border-width:4px 4px 0px;width:0px;height:0px;margin-left:3px"></span></a><div class="" tabindex="-1" style="border:1px solid rgba(0,0,0,0.199219);font-size:13px;padding:0px">

<ul style="margin:0px;padding:0px;border:0px"><li class="" style="margin:0px;padding:0px;border:0px;line-height:1.2;list-style:none"><a href="http://webcache.googleusercontent.com/search?q=cache:GtZG0BSxxmQJ:sccn.ucsd.edu/eeglab/allfunctions/pop_reref.html+&cd=3&hl=en&ct=clnk&gl=us&client=safari" class="" style="color:rgb(51,51,51);text-decoration:none;display:block;padding:7px 18px;outline:0px"></a></li>

<li class="" style="margin:0px;padding:0px;border:0px;line-height:1.2;list-style:none"><a href="https://www.google.com/search?client=safari&rls=en&biw=1261&bih=888&q=related:sccn.ucsd.edu/eeglab/allfunctions/pop_reref.html+EEGLAB+reference+data&tbo=1&sa=X&ei=z7yCUqr1GoLMsQS4sICQDw&ved=0CEIQHzAC" class="" style="color:rgb(51,51,51);text-decoration:none;display:block;padding:7px 18px;outline:0px"></a></li>

<li class="" style="margin:0px;padding:0px;border:0px;line-height:1.2;list-style:none"><div class="" tabindex="-1" style="color:rgb(51,51,51);padding:7px 18px;outline:0px"></div></li></ul></div></div></div><div class="" style="color:rgb(119,119,119);margin-bottom:1px">

</div><span class="" style="line-height:1.24">POP_REREF, Convert an EEG dataset to average reference or to a new common reference channel (or channels). Calls reref(). <b>...</b> Unchecked, the data are transformed to common reference. "Re-<em style="font-weight:bold;font-style:normal">reference data</em> to <b>...</b> See also: reref(), <em style="font-weight:bold;font-style:normal">eeglab</em>() <b>...</b></span></div>

<br><br></div></div></div></div></div></div></div></div>
<br><br><div class="gmail_quote">On Thu, Nov 7, 2013 at 7:52 PM, David Kaufman <span dir="ltr"><<a href="mailto:david.kaufman@gmx.de" target="_blank">david.kaufman@gmx.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

Hi eeglab community,<br>
<br>
I'm currently working with eeg data which was recorded using a single<br>
reference electrode. I now want to reconstruct this reference by using<br>
reref. Later I want to be able to add this additional channel to<br>
improve my classifier.<br>
<br>
Currently, my call to reref looks like this:<br>
reref_trial = reref(trial, []);<br>
where trial is a 32x301 single matrix. Unfortunately, reref also<br>
returns a 32x301 single matrix. I was expecting to get a 1x301 matrix<br>
with only the reconstructed reference. Am I understanding reref wrong?<br>
<br>
Do you have any suggestions? I'm using eeglab version 12_0_2_4b.<br>
<br>
Thanks for any help<br>
David<br>
_______________________________________________<br>
Eeglablist page: <a href="http://sccn.ucsd.edu/eeglab/eeglabmail.html" target="_blank">http://sccn.ucsd.edu/eeglab/eeglabmail.html</a><br>
To unsubscribe, send an empty email to <a href="mailto:eeglablist-unsubscribe@sccn.ucsd.edu">eeglablist-unsubscribe@sccn.ucsd.edu</a><br>
For digest mode, send an email with the subject "set digest mime" to <a href="mailto:eeglablist-request@sccn.ucsd.edu">eeglablist-request@sccn.ucsd.edu</a><br>
</blockquote></div><br></div></div>