[FieldTrip] Fwd: error using freqdescriptives

Samantha Patterson pattersons076 at gmail.com
Thu Aug 15 20:01:32 CEST 2013


Dear Fieldtrippers,


l am trying to use ft_freqdescriptives on freq data but i get an error
saying

Error using ft_checkdata (line 366)
This function requires freq or freqmvar data as input.

Error in ft_freqdescriptives (line 103)
freq = ft_checkdata(freq, 'datatype', {'freq', 'freqmvar'},
'feedback', 'yes');

Specfied cfg for freqdescriptives is

cfg = [];
cfg.foilim = [10 35];
cfg.toilim = [1.0 2.5];
cfg.keeptrials = 'yes';

test = ft_freqdescriptives(cfg,freq1);

output for freq1:

freq1

ans =

         label: {202x1 cell}
         dimord: 'rpt_chan_freq_time'
         freq: [1x22 double]
         time: [1x201 double]
         powspctrm: [4-D double]
         cumtapcnt: [26x18 double]
         grad: [1x1 struct]
         cfg: [1x1 struct]
         trialinfo: [26x3 double]

Any thoughts?

Thanks!!!!!

Samantha
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20130815/503b34d2/attachment-0001.html>


More information about the fieldtrip mailing list