<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi everyone,<div>I am trying to use ft_connectivityplot, but it wants data with dimord chan_chan_freq. However, I only get data with dimord chan_freq_time or chan_freq out of ft_connectivityanalysis (I am computing coherence). For example, these are the cfgs I use:</div><div><br></div><div><div>cfg = [];</div><div>cfg.output = 'powandcsd';</div><div>cfg.method = 'mtmfft';</div><div>cfg.foilim = [4 9];</div><div>cfg.tapsmofrq = 4;</div><div>cfg.toi = 0.1</div><div>cfg.keeptrials = 'yes';</div><div>cfg.channel = 'all';</div><div>cfg.trials = highCohTrials'; </div><div>cfg.channelcmb = {'all' 'all'};</div><div>fftHigh = ft_freqanalysis(cfg,hpdat);</div><div><br></div><div><div>cfg = [];</div><div>cfg.method = 'coh';</div><div>cohHighEarly = ft_connectivityanalysis(cfg, fftHigh);</div></div><div><br></div><div><div>cohHighEarly = </div><div><br></div><div> labelcmb: {6555x2 cell}</div><div> dimord: 'chan_freq'</div><div> cohspctrm: [6555x9 double]</div><div> freq: [4 4.6667 5.3333 6 6.6667 7.3333 8 8.6667 9.3333]</div><div> elec: [1x1 struct]</div><div> dof: 5808</div><div> cfg: [1x1 struct]</div></div><div><br></div><div><div>cfg = [];</div><div>cfg.parameter = 'cohspctrm';</div><div>ft_connectivityplot(cfg,cohHighEarly)</div></div><div><br></div><div><div><br></div></div><div><br></div><div><br></div><div>What should I do?</div><div>Thanks!</div><div>Marieke</div><div><br></div><div>
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; ">----------------------------------------------------------------------------</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; ">Marieke van Vugt, PhD</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; ">Assistant Professor, Cognitive Modeling Group</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; ">Bernoulliborg, room 326</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; ">Nijenborgh 9</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; ">9747 AG Groningen</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; ">The Netherlands</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; "><div>phone: +31-6-51954984 (cell)</div><div> +31-50-363-9487 (office)</div></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; "><a href="http://www.ai.rug.nl/~mkvanvugt">http://www.ai.rug.nl/~mkvanvugt</a></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; "><a href="mailto:m.k.van.vugt@rug.nl">m.k.van.vugt@rug.nl</a></div></div><div><br></div><div><br></div></div></span><br class="Apple-interchange-newline"></div></span><br class="Apple-interchange-newline"></div></span><br class="Apple-interchange-newline"></div><br class="Apple-interchange-newline"></div><br class="Apple-interchange-newline"></div><br class="Apple-interchange-newline"></div><br class="Apple-interchange-newline"><br class="Apple-interchange-newline">
</div>
<br></div></body></html>