freqanalysis

Marco SPERDUTI marco.sperduti at UPMC.FR
Mon Nov 24 12:31:18 CET 2008


Yes I'm using a new version, but Nathan's suggestion worked. Thank you!

sincerely,

Marco




Quoting Nathan Killian <njkillian at GATECH.EDU>:

> Nice idea. This would probably solve the problem I posted earlier today as
> well. Are you also using a newer version of fieldtrip Marco?
>
> If it's a new problem with the program structure perhaps the powers that be
> could update the version?  :)
>
> Nathan
>
> On Mon, Nov 24, 2008 at 4:30 AM, Nathan Weisz <nathanweisz at mac.com> wrote:
>
>> 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.
>>
>
>
>
> --
> Nathan Killian
> Graduate Student - Georgia Tech Bioengineering
> Buffalo Lab at Emory-Yerkes: 404.712.9431
> Potter Lab at Georgia Tech: 404.385.4083
>
> ----------------------------------
> 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