<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:"Courier New";
        mso-fareast-language:DA;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:3.0cm 2.0cm 3.0cm 2.0cm;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="DA" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<pre style="background:white"><span lang="EN-US" style="font-size:12.0pt;color:black">Hi,<o:p></o:p></span></pre>
<pre style="background:white"><span lang="EN-US" style="font-size:12.0pt;color:black"><o:p> </o:p></span></pre>
<pre style="background:white"><span lang="EN-US" style="font-size:12.0pt;color:black">I have never used fieldtrip before but I was trying to get familiar with its statistical analysis tools.<o:p></o:p></span></pre>
<pre style="background:white"><span lang="EN-US" style="font-size:12.0pt;color:black">I tried to run the online example from:<o:p></o:p></span></pre>
<pre style="background:white"><span style="font-size:12.0pt;color:black"><a href="http://www.fieldtriptoolbox.org/example/use_simulated_erps_to_explore_cluster_statistics"><span lang="EN-US" style="color:#663366">http://www.fieldtriptoolbox.org/example/use_simulated_erps_to_explore_cluster_statistics</span></a></span><span lang="EN-US" style="font-size:12.0pt;color:black"><o:p></o:p></span></pre>
<pre style="background:white"><span lang="EN-US" style="font-size:12.0pt;color:black"><o:p> </o:p></span></pre>
<pre style="background:white"><span lang="EN-US" style="font-size:12.0pt;color:black">I am using MATLAB Version: 9.4.0.813654 (R2018a) and I downloaded that latest version of fieldtrip on 5 nov 2018<o:p></o:p></span></pre>
<pre style="background:white"><span lang="EN-US" style="font-size:12.0pt;color:black"><o:p> </o:p></span></pre>
<pre style="background:white"><span lang="EN-US" style="font-size:12.0pt;color:black">I face two errors:<o:p></o:p></span></pre>
<pre style="background:white"><span lang="EN-US" style="font-size:12.0pt;color:black"><o:p> </o:p></span></pre>
<pre style="background:white"><span lang="EN-US" style="font-size:12.0pt;color:black">first at ft_math function:<o:p></o:p></span></pre>
<pre style="background:white"><span lang="EN-US" style="font-size:12.0pt;color:black"><o:p> </o:p></span></pre>
<pre style="background:white"><span lang="EN-US" style="font-size:12.0pt;color:black">Error using ft_math (line 151)<o:p></o:p></span></pre>
<pre style="background:white"><span lang="EN-US" style="font-size:12.0pt;color:black">the requested parameter is not present in the data<o:p></o:p></span></pre>
<pre style="background:white"><span lang="EN-US" style="font-size:12.0pt;color:black"><o:p> </o:p></span></pre>
<pre style="background:white"><span lang="EN-US" style="font-size:12.0pt;color:black">Error in Nonparametric_statistical_testingEEGandMEG_data (line 45)<o:p></o:p></span></pre>
<pre style="background:white"><span lang="EN-US" style="font-size:12.0pt;color:black">difference = ft_math(cfg, timelock1, timelock2); % line 137 of ft_datatype_timelock removes the fields<o:p></o:p></span></pre>
<pre style="background:white"><span lang="EN-US" style="font-size:12.0pt;color:black"><o:p> </o:p></span></pre>
<pre style="background:white"><span lang="EN-US" style="font-size:12.0pt;color:black">and if I comment that line out, I face another error at ft_timelcokstatistics<o:p></o:p></span></pre>
<pre style="background:white"><span lang="EN-US" style="font-size:12.0pt;color:black"><o:p> </o:p></span></pre>
<pre style="background:white"><span lang="EN-US" style="font-size:12.0pt;color:black">Error using chol<o:p></o:p></span></pre>
<pre style="background:white"><span lang="EN-US" style="font-size:12.0pt;color:black">Matrix must be square.<o:p></o:p></span></pre>
<pre style="background:white"><span lang="EN-US" style="font-size:12.0pt;color:black"><o:p> </o:p></span></pre>
<pre style="background:white"><span lang="EN-US" style="font-size:12.0pt;color:black">Error in montecarlo (line 13)<o:p></o:p></span></pre>
<pre style="background:white"><span lang="EN-US" style="font-size:12.0pt;color:black">R = chol(Sigma);   % Y = R^{-T}X has covariance I<o:p></o:p></span></pre>
<pre style="background:white"><span lang="EN-US" style="font-size:12.0pt;color:black"><o:p> </o:p></span></pre>
<pre style="background:white"><span lang="EN-US" style="font-size:12.0pt;color:black">Error in ft_timelockstatistics (line 185)<o:p></o:p></span></pre>
<pre style="background:white"><span lang="EN-US" style="font-size:12.0pt;color:black">  [stat] = statmethod(cfg, dat, design);<o:p></o:p></span></pre>
<pre style="background:white"><span lang="EN-US" style="font-size:12.0pt;color:black"><o:p> </o:p></span></pre>
<pre style="background:white"><span lang="EN-US" style="font-size:12.0pt;color:black">Error in Nonparametric_statistical_testingEEGandMEG_data (line 63)<o:p></o:p></span></pre>
<pre style="background:white"><span lang="EN-US" style="font-size:12.0pt;color:black">stat = ft_timelockstatistics(cfg, timelock1, timelock2);<o:p></o:p></span></pre>
<pre style="background:white"><span lang="EN-US" style="font-size:12.0pt;color:black"><o:p> </o:p></span></pre>
<pre style="background:white"><span lang="EN-US" style="font-size:12.0pt;color:black">Any comment?<o:p></o:p></span></pre>
<pre style="background:white"><span lang="EN-US" style="font-size:12.0pt;color:black"><o:p> </o:p></span></pre>
<pre style="background:white"><span lang="EN-US" style="font-size:12.0pt;color:black">Best regards,<o:p></o:p></span></pre>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span lang="EN-US" style="mso-fareast-language:DA">Associate Prof. Afshin Samani, PhD<o:p></o:p></span></b></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D;mso-fareast-language:DA">Sport Sciences<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;color:#1F497D;mso-fareast-language:DA">Dept. of Health Science and Technology</span><span lang="EN-US" style="color:#1F497D;mso-fareast-language:DA"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:#1F497D;mso-fareast-language:DA">Aalborg University, Aalborg</span><span style="color:#1F497D;mso-fareast-language:DA"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:#1F497D;mso-fareast-language:DA">Denmark</span><span style="font-size:9.0pt;color:#1F497D;mso-fareast-language:DA"><o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:9.0pt;margin-right:0cm;margin-bottom:9.0pt;margin-left:0cm">
<span style="font-size:9.0pt;color:#1F497D;mso-fareast-language:DA"><img border="0" width="114" height="59" style="width:1.1875in;height:.6145in" id="Picture_x0020_1" src="cid:image001.png@01D4775E.B125C260" alt="Description: Beskrivelse: AAU_LINE_blue_rgb"></span><span style="color:black;mso-fareast-language:DA"><o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>