<div dir="ltr"><div class="gmail-diagnosticMessage-messagePart">Hi,</div><div class="gmail-diagnosticMessage-messagePart"><br></div><div class="gmail-diagnosticMessage-messagePart">I encountered while using ft_freqstatistics with the 'dimord' parameter set to 'rpt_chan_freq_time'. And I receive the following warning: <br></div><div class="gmail-diagnosticMessage-messagePart"><br></div><div class="gmail-diagnosticMessage-messagePart">------------</div><div class="gmail-diagnosticMessage-messagePart">Warning: could not determine dimord of "design" in:<br><br>      time: [-1.5000 -1.4900 -1.4800 -1.4700 -1.4600 -1.4500 -1.4400 -1.4300 -1.4200 -1.4100 -1.4000 -1.3900 -1.3800 -1.3700 -1.3600 -1.3500 -1.3400 -1.3300 -1.3200 -1.3100 -1.3000 -1.2900 -1.2800 -1.2700 -1.2600 -1.2500 -1.2400 … ] (1×331 double)<br>      freq: [0.9155 1.1444 1.3733 1.6022 1.8311 2.0599 2.2888 2.5177 2.7466 2.9755 3.2043 3.4332 3.6621 3.8910 4.1199 4.3488 4.5776 4.8065 5.0354 5.2643 5.4932 5.7220 5.9509 6.1798 6.4087 6.6376 6.8665 7.0953 7.3242 7.5531 7.7820 … ] (1×434 double)<br>    dimord: 'rpt_chan_freq_time'<br>     label: {'perm'}<br>    design: [1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 2 2 2 2 2 2 2 2 2 2 … ] (1×167 double)<br>    powspctrm: [167×1×434×331 double]<br>--------------<br><br><br>This is my cfg code:</div><div class="gmail-diagnosticMessage-messagePart"><br></div><div class="gmail-diagnosticMessage-messagePart">---------------<br></div><div class="gmail-diagnosticMessage-messagePart">cfg = [];<br>    cfg.method = 'montecarlo';<br>    cfg.statistic = 'indepsamplesT';<br>    cfg.numrandomization = 1000;<br>    cfg.design = perm_data.design; <br>    cfg.ivar = 1;<br>    % cfg.feedback = 'no';<br>    cfg.correctm          = 'cluster';<br>    cfg.neighbours        = [];<br>    cfg.clusteralpha      = 0.05;<br>    cfg.clustertail       = 0;<br>    cfg.clusterstatistic  = 'maxsum';<br>    cfg.tail              = 0;<br>    cfg.correcttail       = 'prob';<br>    cfg.alpha             = 0.05;<br></div><div class="gmail-diagnosticMessage-messagePart"><br></div><div class="gmail-diagnosticMessage-messagePart">stat = ft_freqstatistics(cfg, perm_data);<br></div><div class="gmail-diagnosticMessage-messagePart">---------------</div><div class="gmail-diagnosticMessage-messagePart"><br></div><div class="gmail-diagnosticMessage-messagePart">As far as my understanding goes, the 'dimord' for 'design' should indeed be 'rpt', and the first dimension of 'powspctrm' is equal to the length of 'design'. However, I am uncertain about the specific issue causing this warning. Could you kindly provide guidance or insight into where the problem might lie?</div><div class="gmail-diagnosticMessage-messagePart"><br></div><div class="gmail-diagnosticMessage-messagePart">Thanks in advance!</div><div class="gmail-diagnosticMessage-messagePart">--<br></div><div class="gmail-diagnosticMessage-messagePart">Jay Lin</div><div class="gmail-diagnosticMessage-stackPart"></div></div>