<div> </div><div><div>Dear all,</div><br>I have one problem with the ft_freqanalysis. When I calculate time-frequency analysis with the Hanning taper everything works ok, but when I try to plot data with ft_multiplotTFR or ft_topoplotTFR I get empty plots. You can check that in the attached image. However, when I calculate time-frequency with the multitapers plot looks fine. Here is my problematic code: <div>
<br></div><div><br></div><div>%Hanning taper</div><div>cfg = [];</div><div>cfg.output = 'pow';</div><div>cfg.channel = 'MEG';</div><div>cfg.method = 'mtmconvol';</div>
<div>cfg.taper = 'hanning';</div><div>cfg.foi = 2:2:30;</div><div>cfg.t_ftimwin = ones(length(cfg.foi),1).*0.5; % length of time window = 0.5 sec</div><div>cfg.toi = -0.5:0.05:1.5; % time window "slides" from -0.5 to 1.5 sec in steps of 0.05 sec</div>
<div>cfg.polyremoval = -1;</div><div>wr11_freq = ft_freqanalysis(cfg, data_clean);</div><div><br></div><div><br></div><div>cfg = [];</div><div>cfg.baseline = [-0.2 -0.1];</div><div>cfg.baselinetype = 'absolute';</div>
<div>cfg.zlim = [-4e-29 1e-28];</div><div>cfg.showlabels = 'yes';</div><div>cfg.layout = 'CTF275.lay';</div><div>cfg.colorbar= 'yes';</div><div>cfg.interactive= 'yes';</div><div>cfg.hotkeys = 'yes';</div>
<div>figure</div><div>ft_multiplotTFR(cfg, wr11_freq);</div></div><div><br></div><div>Please help!</div><div>Thank you in advance!</div><div><br></div><div>Nenad</div><div><br></div><div><br></div><div><br></div><div><br>
</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div>