<div dir="ltr"><br><div class="gmail_quote"><div dir="ltr"><div><div><div><div>Dear Fieldtrippers,<br><br><br>l am trying to use ft_freqdescriptives on freq data but i get an error saying <br><br>Error using ft_checkdata (line 366)<br>
This function requires freq or freqmvar data as input.<br>
<br>Error in ft_freqdescriptives (line 103)<br>freq = ft_checkdata(freq, 'datatype', {'freq', 'freqmvar'},<br>'feedback', 'yes');<br><br></div>Specfied cfg for freqdescriptives is<br>

<br>cfg = [];<br>cfg.foilim = [10 35];<br>cfg.toilim = [1.0 2.5];<br>cfg.keeptrials = 'yes';<br><br></div>test = ft_freqdescriptives(cfg,freq1);<br><br></div>output for freq1:<br><br></div>freq1<br><br>ans = <br>
<br>
         label: {202x1 cell}<br>         dimord: 'rpt_chan_freq_time'<br>         freq: [1x22 double]<br>         time: [1x201 double]<br>         powspctrm: [4-D double]<br>         cumtapcnt: [26x18 double]<br>
         grad: [1x1 struct]<br>
         cfg: [1x1 struct]<br>         trialinfo: [26x3 double]<br><br><pre>Any thoughts?<br><br></pre><pre>Thanks!!!!!<span class="HOEnZb"><font color="#888888"><br><br></font></span></pre><span class="HOEnZb"><font color="#888888"><pre>
Samantha <br></pre><br></font></span></div>
</div><br></div>