Error in freqdescriptives ?
Robert Oostenveld
r.oostenveld at FCDONDERS.RU.NL
Mon Feb 27 12:23:34 CET 2006
Hi Conrado,
Thanks for reporting the bug. I have fixed it in the release version
of Fieldtrip.
Robert
On 27-feb-2006, at 10:05, Conrado Bosman wrote:
> Hi Robert,
>
> After analyze my data with freqanalysis, I use freqdescriptive to
> get the values of coherence and the power spectrum. In my script I
> use the foollowing functions,
>
> FRtemp = freqanalysis(cfg3,MSMA);
> FR = freqdescriptives([],FRtemp);
>
> and I get the following error:
>
> ??? Undefined function or variable "data".
>
> Error in ==> freqdescriptives at 113
> data = fixdimord(data);
>
> If I use the dbstop command, you can see that data variable at that
> point doesn't exist.
>
> 113 data = fixdimord(data);
> K>> whos
> Name Size Bytes Class
>
> cfg 1x1 164 struct array
> freq 1x1 25792480 struct array
>
> It could be that there is a bug in the name of the variable? (using
> data instead of freq)
>
> Thanks for your attention,
>
> Conrado Bosman
>
>
More information about the fieldtrip
mailing list