Dear Users,<br><br>I try to calculate the phase locking values following the tutorial and encounter a problem.<br><br>First, I ran freqanalysis as follows:<br> cfg = [];<br> cfg.channel = 'EEG'; <br>
cfg.method = 'mtmfft'; <br> cfg.foi = 8:1:120;<br> cfg.keeptrials = 'yes';<br> cfg.ouput = 'fourier';<br>
cfg.tapsmofrq = 2;<br> Phase= ft_freqanalysis(cfg, data);<br><br>I noticed that the values in both Phase.cumsumcnt and Phase.cumtapcnt are constant values (BTW, what the meaning of cumsumcnt and cumtapcnt)<br>
<br>Then, I ran connectivity analysis as follows<br> cfg = [];<br> cfg.method = 'plv'; <br> PLV = ft_connectivityanalysis(cfg, Phase);<br><br>Here, I got empty matrices in both labelcmb: {0x2 cell} and plvspctrm: [0x113 double]<br>
<br>I wondered if there is anything wrong with the previous steps. Many thanks!<br><br>Shen-Mou Hsu<br>