Dear Filedtrip experts,<br /><br /><br />I'm using some of your scripts to compute connectovity measures from my resting-state EEG data, <br /><br />I have compute the cpsd of two sensors on matlab, reshape the cpsd matrix to: Nsamples x 1 x 1 x Segments ,<br /><br />In the case of computing the WPLI it was enough to do something simple like:<br />[wpli, v, n]=ft_connectivity_pli(reshaped_CPSDmatrix, 'dokack',0,'debias',0)<br /><br />But I'm loking to compute the PLV, imaginary part of coherence (ImC) and the PPC indices, but I'm having troubles with this, as is not just as simple or direct computation of such indices. I have search on the net for this, but could't found anything helpful.<br /><br />Any help would be apreciated.<br /><br />Many thanks in advanced,<br />Gabriel.<br />