Hello Kevin,<br><br>You can see that...<a href="http://sccn.ucsd.edu/pipermail/eeglablist/2004/000633.html">http://sccn.ucsd.edu/pipermail/eeglablist/2004/000633.html</a><br><br>it may help you<br><br>Regards<br>Klados Manousos<br>
<br><div><span class="gmail_quote">2008/1/29, Johannes Sarnthein <<a href="mailto:johannes.sarnthein@gmail.com">johannes.sarnthein@gmail.com</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Kevin,<br>You can calculate the coherence spectrum with a script of the type below.<br>Best,<br>Johannes<br><br>ch1      = 6;<br>ch2      = 49;<br>window   = 2*EEG.srate; % create 2 sec epochs<br>noverlap = window/2;    % overlap epochs by 50% for smoothing<br>
nfft     = window*2;    % zero-padding factor 2 for smoothing<br>fs       = EEG.srate;<br><br>[Cxy,F] = mscohere(EEG.data(ch1,:),EEG.data(ch2,:),window,noverlap,nfft,fs);<br><br>figure;<br>plot(F,Cxy)<br><br><br>2008/1/28, Kevin Whittingstall <<a href="mailto:kevin.whittingstall@tuebingen.mpg.de">kevin.whittingstall@tuebingen.mpg.de</a>>:<br>
><br>>  Hello there,<br>><br>>                  I am trying to calculate the coherence between two<br>> channels of continuous data (that is, there are no 'epochs'.  Any<br>> suggestions on how to carry this out?<br>
><br>> Thanks,<br>> Kevin<br>><br>><br>> --<br>> --------------------------------------------<br>> Kevin Whittingstall, Ph.D.<br>> Max Planck Institute for Biological Cybernetics<br>> Spemannstraße 38<br>
> 72076 Tübingen<br>> Phone: +49-7071-6011700<br>><br>> _______________________________________________<br>> eeglablist mailing list <a href="mailto:eeglablist@sccn.ucsd.edu">eeglablist@sccn.ucsd.edu</a><br>
> Eeglablist page: <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 <a href="mailto:eeglablist-unsubscribe@sccn.ucsd.edu">eeglablist-unsubscribe@sccn.ucsd.edu</a><br>
><br><br>_______________________________________________<br>eeglablist mailing list <a href="mailto:eeglablist@sccn.ucsd.edu">eeglablist@sccn.ucsd.edu</a><br>Eeglablist page: <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 <a href="mailto:eeglablist-unsubscribe@sccn.ucsd.edu">eeglablist-unsubscribe@sccn.ucsd.edu</a><br></blockquote></div><br><br clear="all"><br>-- <br>Κλάδος Α. Μανούσος