<div dir="ltr"><div>Dear Marion,</div><div><br></div><div>I think that the classical correlation is defined in terms of paired observations. <br></div><div>You could interpolate or select matching data, but if it was me I would just remove the problem of unequal number of observations by defining equal time points in your frequency analysis: while it would take some CPU time, it would save a lot of human time and effort :-)</div><div><br></div><div>Let me know if you have a question about how to do this thought.</div><div><br></div><div>Cheers,</div><div>Stephen<br></div><div><br></div><div><br></div><div><br></div><br><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Op ma 7 sep. 2020 om 14:35 schreef Marion Vincent <<a href="mailto:marion.vincent@univ-lille.fr">marion.vincent@univ-lille.fr</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Dear Fieldtrip community, <br>
<br>
I would like to  compute correlation between different frequency bands. <br>
My time-frequency analysis was computed differently for low and high frequencies. For example, I do no have the same number of TF bins for low (beta) and high (gamma) frequencies.<br>
I was wondering if there was a way to calculate the correlation bewteen these 2 frequency bands eventhough the number of points is not the same. <br>
<br>
Thanks, <br>
Marion <br>
_______________________________________________<br>
fieldtrip mailing list<br>
<a href="https://mailman.science.ru.nl/mailman/listinfo/fieldtrip" rel="noreferrer" target="_blank">https://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br>
<a href="https://doi.org/10.1371/journal.pcbi.1002202" rel="noreferrer" target="_blank">https://doi.org/10.1371/journal.pcbi.1002202</a><br>
</blockquote></div>