<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<font size="4" class="">Hi Elisa,</font>
<div class=""><font size="4" class=""><br class="">
</font></div>
<div class=""><font size="4" class="">To follow up on my previous message: the drop-in replacement of the tcdf function was taken from octave, perhaps a similar function exists for fcdf. If you manage to find one on the web, you can add this to your version
 of fieldtrip, and create a pull request on github (PR) so that it will also be made available to the rest of us. Thanks in advance! The requirement of such a drop in replacement should be that it has the same functionality as the matlab version, including
 its API (input and output arguments).</font></div>
<div class=""><font size="4" class=""><br class="">
</font></div>
<div class=""><font size="4" class="">Best wishes,</font></div>
<div class=""><font size="4" class="">Jan-Mathijs</font></div>
<div class=""><br class="">
<div><br class="">
<blockquote type="cite" class="">
<div class="">On 23 Sep 2020, at 00:01, Elisa Tatti <<a href="mailto:elisatatti@msn.com" class="">elisatatti@msn.com</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
<div dir="ltr" class="">
<div style="font-family: Arial, Helvetica, sans-serif; font-size: 12pt;" class="">
<br class="Apple-interchange-newline">
Good morning/evening, </div>
<div style="font-family: Arial, Helvetica, sans-serif; font-size: 12pt;" class="">
<br class="">
</div>
<div style="font-family: Arial, Helvetica, sans-serif; font-size: 12pt;" class="">
I am trying to compute an Univariate ANOVA with 3 repeated measure levels and <span style="font-family: Arial, Helvetica, sans-serif; font-size: 12pt;" class="">I get the following error:</span></div>
<div style="font-family: Arial, Helvetica, sans-serif; font-size: 12pt;" class="">
<br class="">
</div>
<div style="font-family: Arial, Helvetica, sans-serif; font-size: 12pt;" class="">
<br class="">
</div>
<div style="font-family: Arial, Helvetica, sans-serif; font-size: 12pt;" class="">
</div>
Undefined function or variable 'fcdf'.
<div class=""><br class="">
</div>
<div class="">Error in ft_statfun_depsamplesFunivariate (line 181)</div>
<div class="">    s.prob = 1-fcdf(s.stat,s.dfnum,s.dfdenom);</div>
<div class=""><br class="">
</div>
<div class="">Error in ft_statistics_montecarlo (line 267)</div>
<div class="">  [statobs, cfg] = statfun(cfg, dat, design);</div>
<div class=""><br class="">
</div>
<div class="">Error in ft_freqstatistics (line 193)</div>
  [stat, cfg] = statmethod(cfg, dat, design);
<div class="">
<div style="font-family: Arial, Helvetica, sans-serif; font-size: 12pt;" class="">
<br class="">
</div>
<div id="x_Signature" class="">
<div class=""></div>
<div class=""></div>
<div id="x_divtagdefaultwrapper" dir="ltr" style="font-family: Calibri, Helvetica, sans-serif;" class="">
<div style="margin-top: 0px; margin-bottom: 0px;" class="">
<div dir="ltr" style="margin: 0px; font-family: Calibri, Helvetica, sans-serif;" class="">
<div style="margin: 0px; font-family: wf_segoe-ui_normal, "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif, serif, EmojiFont;" class="">
<div style="margin: 0px;" class="">
<div style="margin: 0px;" class="">
<div style="margin: 0in 0in 0.0001pt; color: rgb(33, 33, 33); font-size: 15px;" class="">
<span style="margin: 0px; font-size: 12pt;" class=""><br class="">
</span></div>
<div style="margin: 0in 0in 0.0001pt; color: rgb(33, 33, 33); font-size: 15px;" class="">
<span style="margin: 0px; font-size: 12pt;" class=""><br class="">
</span></div>
<div style="margin: 0in 0in 0.0001pt; color: rgb(33, 33, 33); font-size: 15px;" class="">
<span style="margin: 0px; font-size: 12pt;" class="">I checked both the Fieldtrip and Matlab functions folder and I could not find the fcdf function (only the Student's T cumulative distribution function, tcdf). </span></div>
<div style="margin: 0in 0in 0.0001pt; color: rgb(33, 33, 33); font-size: 15px;" class="">
<span style="margin: 0px; font-size: 12pt;" class="">Has anyone had this issue? </span></div>
<div style="margin: 0in 0in 0.0001pt; color: rgb(33, 33, 33); font-size: 15px;" class="">
<br class="">
</div>
<div style="margin: 0in 0in 0.0001pt; color: rgb(33, 33, 33); font-size: 15px;" class="">
<br class="">
</div>
<div style="margin: 0in 0in 0.0001pt;" class=""><font class="">Thank you for your attention.</font></div>
<div style="margin: 0in 0in 0.0001pt;" class=""><font class=""><br class="">
</font></div>
<div style="margin: 0in 0in 0.0001pt;" class=""><font class="">Best wishes.</font></div>
<div style="margin: 0in 0in 0.0001pt;" class=""><font class=""><br class="">
</font></div>
<div style="margin: 0in 0in 0.0001pt;" class=""><font class="">Elisa</font></div>
<div style="margin: 0in 0in 0.0001pt; color: rgb(33, 33, 33); font-size: 15px;" class="">
<span style="margin: 0px; font-size: 12pt;" class=""><br class="">
</span></div>
</div>
<div style="color: rgb(33, 33, 33); font-size: 15px; margin: 0px;" class="">
<div style="margin: 0in 0in 0.0001pt;" class=""><br class="">
</div>
</div>
<div style="color: rgb(33, 33, 33); font-size: 15px; margin: 0px;" class=""></div>
</div>
</div>
<div style="margin: 0in 0in 0.0001pt; color: rgb(33, 33, 33); font-size: 15px; font-family: wf_segoe-ui_normal, "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif, serif, EmojiFont;" class="">
<br class="">
</div>
</div>
<br class="">
</div>
</div>
</div>
</div>
</div>
</div>
<span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">_______________________________________________</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
<span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">fieldtrip
 mailing list</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
<a href="https://mailman.science.ru.nl/mailman/listinfo/fieldtrip" style="font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class="">https://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
<a href="https://doi.org/10.1371/journal.pcbi.1002202" style="font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class="">https://doi.org/10.1371/journal.pcbi.1002202</a></div>
</blockquote>
</div>
<br class="">
</div>
</body>
</html>