<span style>Hello, I would like to ask you what does the "cfg.frequency" means in ft_sourceanalysis. I want to plot a frequency range for example [14 30], do i have to use cfg.frequency=22? why? It would be perfect if someone could explain how to make the freqanalysis and the sourceanalysis for a frequency range for example this one[14 30]. </span><div>
<font color="#222222" face="arial, sans-serif"><br></font></div><div><font color="#222222" face="arial, sans-serif">This is the code for my frequency analysis:</font></div><div><font color="#222222" face="arial, sans-serif"><div>
cfg = [];</div><div>cfg.method    = 'mtmfft';</div><div>cfg.output    = 'powandcsd';</div><div>cfg.channel   = {'MEG'}; </div><div>cfg.tapsmofrq = 4;</div><div>cfg.foilim    = [14 30];</div><div>freq_post = ft_freqanalysis(cfg, words_post);</div>
</font></div><div><font color="#222222" face="arial, sans-serif"><br></font></div><div><font color="#222222" face="arial, sans-serif">The i do the sourceanalysis:</font></div><div><font color="#222222" face="arial, sans-serif"><div>
cfg              = []; </div><div>cfg.frequency    = 22;  </div><div>cfg.lambda=0;</div><div>cfg.method       = 'dics';</div><div>cfg.coordsys       = 'neuromag';</div><div>cfg.projectnoise = 'yes';</div>
<div>cfg.grad            = freq_pre.grad;</div><div>cfg.channel   = {'MEG'}; </div><div>cfg.grid         = grid; </div><div>cfg.reducerank      = 2;</div><div>cfg.vol          = vol02;</div><div>vol02=ft_convert_units(vol02,'cm');</div>
<div>source_post11= ft_sourceanalysis(cfg, freq_post);</div><div><br></div><div><br></div><div>What i get i see that depends only in the cfg.frequency=22, if i change the previous freqanalysis and use the 22 for the cfg.frequency i get the same result. Hope someone can help me.</div>
</font></div><div><font color="#222222" face="arial, sans-serif"><br></font><div style>Thanks in advance.</div></div><div style><br></div><div style>Best,</div><div style><br></div><div style>Ion</div>