<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
Dear Fieldtrip mailing list members,<br>
<br>
I am a quite new user of fieldtrip (version 10090331). <br>
I have been trying to use it for analyzing distribution of frequencies
on MEG signal between two events of a task.<br>
The last command using freqstatistics result of an error message.<br>
I decided to run the tutorial "Cluster-based permutation tests on
time-frequency data" in order to compare the organization my data set
compared with the one in the data set. In fact I got the same bug with
the tutorial data set that is for the tutorial data set:<br>
<br>
selected 149 channels<br>
selected 61 time bins<br>
selected 1 frequency bins<br>
Warning: PACK can only be used from the MATLAB command line.<br>
> In fieldtrip-20090331/private/prepare_timefreq_data at 314<br>
  In fieldtrip-20090331/private/statistics_wrapper at 315<br>
  In freqstatistics at 137<br>
Using the gradiometer configuration from the dataset.<br>
there are on average 4.7 neighbours per channel<br>
using "statistics_montecarlo" for the statistical testing<br>
using "statfun_indepsamplesT" for the single-sample statistics<br>
constructing randomized design<br>
total number of measurements     = 149<br>
total number of variables        = 1<br>
number of independent variables  = 1<br>
number of unit variables         = 0<br>
number of within-cell variables = 0<br>
number of control variables      = 0<br>
using a permutation resampling approach<br>
computing a parmetric threshold for clustering<br>
Warning: Not all replications are used for the computation of the<br>
statistic.<br>
> In statfun_indepsamplesT at 90<br>
  In statistics_montecarlo at 275<br>
  In fieldtrip-20090331/private/statistics_wrapper at 381<br>
  In freqstatistics at 137<br>
Undefined function or method 'tinv' for input arguments of type
'double'.<br>
??? Error using ==> statistics_montecarlo at 278<br>
could not determine the parametric critical value for clustering<br>
<br>
Error in ==> statistics_wrapper at 381<br>
  [stat, cfg] = statmethod(cfg, dat, cfg.design);<br>
<br>
Error in ==> freqstatistics at 137<br>
[stat] = statistics_wrapper(cfg, varargin{:});<br>
<br>
>> <br>
<br>
Any idea or suggestion about that problem?<br>
<br>
Thanks.<br>
<br>
Jean-Michel<br>
<div class="moz-signature">-- <br>
<meta http-equiv="CONTENT-TYPE" content="text/html; ">
<title></title>
<meta name="GENERATOR" content="NeoOffice 2.2  (Unix)">
<meta name="CREATED" content="20080916;13142500">
<meta name="CHANGED" content="20080916;14013400">
<style type="text/css">
        <!--
                @page { size: 21cm 29.7cm; margin: 2cm }
                P { margin-bottom: 0.21cm }
        -->
        </style>
<p style="margin-bottom: 0cm;">Jean-Michel Badier</p>
<p style="margin-bottom: 0cm;"><br>
</p>
<p style="margin-bottom: 0cm;" align="left"><font color="#000000"><font
 face="Times Roman, serif"><font size="3">Laboratoire
de MagnétoEncéphaloGraphie</font></font></font></p>
<p style="margin-bottom: 0cm;" align="left"><font color="#000000"><font
 face="Times Roman, serif"><font size="3">INSERM
U751. Aix Marseille Université</font></font></font></p>
<p style="margin-bottom: 0cm;" align="left"><font color="#000000"><font
 face="Times Roman, serif"><font size="3">33
(0)4 91 38 55 62 </font></font></font></p>
<p style="margin-bottom: 0cm;" align="left"><a
 href="mailto:jean-michel.badier@univmed.fr"><font color="#000af1"><font
 face="Times Roman, serif"><font size="3"><u>jean-michel.badier@univmed.fr</u></font></font></font></a></p>
<p style="margin-bottom: 0cm;" align="left"><br>
</p>
<p style="margin-bottom: 0cm;" align="left"><font color="#000000"><font
 face="Times Roman, serif"><font size="2"><font color="#000000"><font
 face="Times Roman, serif"><font size="2">Service
de Neurophysiologie Clinique. </font></font></font>CHU Timone</font></font></font></p>
<p style="margin-bottom: 0cm;" align="left"><font color="#000000"><font
 face="Times Roman, serif"><font size="2">264
Rue Saint-Pierre, 13005 Marseille-France</font></font></font></p>
<p style="margin-bottom: 0cm;" align="left"><br>
</p>
<p style="margin-bottom: 0cm;"><br>
</p>
</div>
</body>
</html>
<p>----------------------------------</p>
<p>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.</p>
<p>  http://listserv.surfnet.nl/archives/fieldtrip.html</p>
<p>  http://www.ru.nl/fcdonders/fieldtrip/</p>