frequency resolution of the power spectrum

Marco Rotonda marco.rotonda at GMAIL.COM
Thu Jul 2 16:09:11 CEST 2009


Hi Martin,

take a look at http://fieldtrip.fcdonders.nl/faq/how_can_i_process_continuous_data_without_triggers
to know how to preprocess your single trial

Marco


On 02/lug/09, at 15:39, Martin Bleichner wrote:

> Hi there,
>
> this might be a stupid question. I probably miss something obvious.
>
> I want to compute the power spectrum over a single trial (around 5
> minutes).
>
> using this piece of code
> cfg        = [];
> cfg.method = 'mtmfft';
> cfg.output = 'pow';
> cfg.foilim = [1 100];
> cfg.taper  = 'hanning';
> freq       = freqanalysis(cfg, data);
>
> as a result I get
>  freq: [1x62534 double]
> powspctrm: [96x62534 double]
>
> that is a frequency resolution of 0.0032Hz!? What determines the
> frequency resolution here? What can I do to make it less fine grained?
>
> Thanks
> Martin
>
>
> ----------------------------------
>
> The aim of this list is to facilitate the discussion between users
> of the FieldTrip toolbox, to share experiences and to discuss new
> ideas for MEG and EEG analysis.
>
> http://listserv.surfnet.nl/archives/fieldtrip.html
>
> http://www.ru.nl/fcdonders/fieldtrip/
>


----------------------------------
The aim of this list is to facilitate the discussion between users of the FieldTrip  toolbox, to share experiences and to discuss new ideas for MEG and EEG analysis. See also http://listserv.surfnet.nl/archives/fieldtrip.html and http://www.ru.nl/neuroimaging/fieldtrip.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20090702/213c96e9/attachment-0001.html>


More information about the fieldtrip mailing list