freqanalysis

Nathan Weisz nathanweisz at MAC.COM
Mon Nov 24 10:30:27 CET 2008


hi marco,

if i recall correctly then this file is under the fieldtrip/private
folder. i usually rename (e.g. notprivate) that folder and then add it
to the path. perhaps you'll have to restart matlab.

hope this helps.

best,
nathan


On 24.11.2008, at 10:26, Marco SPERDUTI wrote:

> Hi all,
>
> i have a problem, each time i try to use freqanalysis i have these
> errors:
>
> ??? Undefined command/function 'mbrealvector'.
>
> Error in ==> nearest at 20
> mbrealvector(array)
>
> Error in ==> freqanalysis_tfr at 203
>  begsampl = nearest(indicvect,cfg.latency(1));
>
> Error in ==> freqanalysis at 192
> [freq] = feval(sprintf('freqanalysis_%s', lower(cfg.method)), cfg,
> data);
>
> That's the command i use:
>
> cfg              = [];
> cfg.output       = 'pow';
> cfg.method       = 'tfr';
> cfg.foi          = 34:1:38;
> cfg.waveletwidth  = 8
> cfg.keeptrials    = 'yes'
> TFRdata = freqanalysis(cfg, data);
>
> any idea?
>
> Marco
>
> ----------------------------------
> 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/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/fcdonders/fieldtrip.



More information about the fieldtrip mailing list