frequencies of interest not assigned properly in freqanalysis

Ingrid Nieuwenhuis ingrid.nieuwenhuis at FCDONDERS.RU.NL
Mon Mar 19 19:49:30 CET 2007

Hi Sameer,

The frequency resolution with mtmfft depends on the length of your trials.
Cfg.foilim should be only two numbers, the lower and upper boundary of the
frequency. It seems as if you are confusing mtmconvol and mtmfft. In
mtmconvol you can specify the cfg.foi as a vector with more than 2
frequencies. See the help information of these both functions.

Hopes this helps you along,

-----Original Message-----
From: FieldTrip discussion list [mailto:FIELDTRIP at NIC.SURFNET.NL] On Behalf
Of Sameer Walawalkar
Sent: Monday, March 19, 2007 7:22 PM
Subject: [FIELDTRIP] frequencies of interest not assigned properly in

I am trying to understand why the frequencies of interest do not seem to
get assigned properly as shown below.

cfgPre =

          ouput: 'powandcsd'
         method: 'mtmfft'
     keeptrials: 'no'
      tapsmofrq: 4
         foilim: [5 10 15 20 25 30 35 40 45 50 55 60 65 70 75 80 85 90 95
        channel: 'MEG'
     channelcmb: {'MEG'  'MEG'}

freqPreRR = freqanalysis(cfgPre,dataRRpre_One);

freqPreRR =

         label: {306x1 cell}
        dimord: 'chan_freq'
          freq: [5.9880 7.9840 9.9800]
     powspctrm: [306x3 double]
      labelcmb: {46665x2 cell}
     crsspctrm: [46665x3 double]
          grad: [1x1 struct]
           cfg: [1x1 struct]


More information about the fieldtrip mailing list