<html><head><base href="x-msg://603/"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Dear Bill,<div><br></div><div>adding a new empty data channel:</div><div><br></div><div><i>EEG.data(end+1,:) = 0;</i></div><div><i>EEG.nbchan = size(EEG.data,1);</i></div><div><i>if ~isempty(EEG.chanlocs)</i></div><div><div><div><i><span class="Apple-tab-span" style="white-space:pre"> </span>EEG.chanlocs(end+1).label = '';</i></div></div><div><i>end;</i></div><div><i>[ALLEEG EEG CURRENTSET] = eeg_store(ALLEEG, EEG, CURRENTSET);</i></div><div><i>eeglab redraw</i></div></div><div><br></div><div>Hope this helps,</div><div><br></div><div>Arno</div><div><br><div><div>On Jul 23, 2011, at 3:31 PM, Bill Prinzmetal wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div><div>I have input my data, referenced to all. I would like to add a<u><span class="Apple-converted-space"> </span>new</u><span class="Apple-converted-space"> </span>channel that is not a reference channel, like Keren et al Neuroimage (2010) that is (VOG + HOG + superior eye etc.). I can append channel, but if I check data channel, it protests. If I do not check that box, it does not change the channels (from 72 to 73). I could add the new calculated channel to EEG.data.73, but the number of channels is wrong. I could change the nchan but there is probably more to adding a channel than that. Is there some simple (or not so simple) way of adding a new data channel?</div><div><br></div><div>I also tried to change the location file to have a channel 73, but it did not like that either.</div><div><br></div><div>b</div><div><br></div><div><br></div><x-sigsep><pre>--
</pre></x-sigsep><div><font face="Geneva" size="-1" color="#000000">******************************************</font></div><div><font face="Geneva" size="-1" color="#000000"><i>Only muggles talk of mind 'reading'. The mind is not a book to be opened at will and examined a leisure. Thoughts are not sketched on the insides of skulls to be pursued by any invader. The mind is a complex and many layered thing. ~ Professor</i></font><font face="Geneva" size="-1" color="#EFEFEF"><i><span class="Apple-converted-space"> </span>Severus</i></font><font face="Geneva" size="-1" color="#000000"><i><span class="Apple-converted-space"> </span>Snape</i></font></div><div><font face="Geneva" size="-1" color="#000000">******************************************</font></div><div><font face="Geneva" size="-1" color="#000000">Bill Prinzmetal</font></div><div><font face="Geneva" size="-1" color="#000000">Psychology Department<br>University of California<br>Berkeley, CA 94720</font></div><div><font face="Geneva" size="-1" color="#000000"><a href="mailto:wprinz@berkeley.edu">wprinz@berkeley.edu</a></font></div><div><font face="Geneva" size="-1" color="#000000">(510)643-7635 work; (510)236-5013 home; (510)685-8623 cell<br>******************************************<br>For a good time, visit:</font><br><font face="Geneva" size="-1" color="#000000"></font></div><div><font face="Geneva" size="-1" color="#000000"><a href="http://www.ohsu.edu/csail">http://www.ohsu.edu/csail</a></font></div>_______________________________________________<br>Eeglablist page:<span class="Apple-converted-space"> </span><a href="http://sccn.ucsd.edu/eeglab/eeglabmail.html">http://sccn.ucsd.edu/eeglab/eeglabmail.html</a><br>To unsubscribe, send an empty email to<span class="Apple-converted-space"> </span><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<span class="Apple-converted-space"> </span><a href="mailto:eeglablist-request@sccn.ucsd.edu">eeglablist-request@sccn.ucsd.edu</a></div></blockquote></div><br></div></body></html>