[Eeglablist] Is it possible to calculate correlation between ERPs using GUI

Arnaud Delorme arno at ucsd.edu
Tue Jun 11 12:06:33 PDT 2019


Dear Kaelasha,

To look at the correlation between the ERP of dataset 1 channel 1 and dataset 2 channel 1

c = corrcoef(mean(ALLEEG(1).data(1,:,:),3), mean(ALLEEG(2).data(1,:,:),3)); c(2)

To look at the correlation between different channels (useful to see artifacts)

[~,~,~,corrs] = matcorr(EEG.data(:,:), EEG.data(:,:));
figure; imagesc(corrs);

Best wishes,

Arno

> On Jun 11, 2019, at 8:00 PM, Ramón Martinez <nucleuscub at gmail.com> wrote:
> 
> Dear Kaelasha,
> IMHO, the best way to go is by writing a simple, and maybe a single line,
> code in MATLAB to do this.
> Best,
> Ramon
> 
> On Tue, Jun 11, 2019 at 3:32 PM Kaelasha Tyler <kaelasha.tyler at gmail.com>
> wrote:
> 
>> Hi all,
>> 
>> Is it possible to calculate a correlation coefficient between ERPs using
>> the GUI?
>> 
>> Otherwise I guess it is simply a matter of using Matlab corrcoef? or
>> corrcoef_cell?
>> 
>> Thanks in advance,
>> Kaelasha
>> _______________________________________________
>> Eeglablist page: http://sccn.ucsd.edu/eeglab/eeglabmail.html
>> To unsubscribe, send an empty email to
>> eeglablist-unsubscribe at sccn.ucsd.edu
>> For digest mode, send an email with the subject "set digest mime" to
>> eeglablist-request at sccn.ucsd.edu
>> 
> 
> 
> -- 
> _____________________________________________________
> Ramon Martinez-Cancino
> Swartz Center for Computational Neuroscience
> Institute for Neural Computation, University of California San Diego
> _______________________________________________
> Eeglablist page: http://sccn.ucsd.edu/eeglab/eeglabmail.html
> To unsubscribe, send an empty email to eeglablist-unsubscribe at sccn.ucsd.edu
> For digest mode, send an email with the subject "set digest mime" to eeglablist-request at sccn.ucsd.edu



More information about the eeglablist mailing list