<div dir="ltr">Dear all,<div>I have the diagonal values <b>unequal </b>to 0 or 1 in the output matrix from the ft_connectivityanalysis using 'wpli'.  These diagonal values are even not equal to each other.  The diagonal values are the same (0s or Infinite) by using 'coh' or 'coh' & cfg.complex = 'imag'.    </div><div><br></div><div>I never used the diagonal values in my later analysis, and I always changed them to 0s, but I am still curious and confused about why this happened to the method of 'wpli'. </div><div><br></div><div>Does anyone ever meet this issue?</div><div><br></div><div>Thanks.</div><div><br></div><div>Wanze</div></div>