<div dir="ltr"><div style>Hi,</div><div style><br></div><div style>using ft_mvaranalysis with unequal length trials, i encountering the following error (see below). This error does not occur after commenting out line 241 where the data gets preprocessed. Is this ok? </div>
<div><br></div><div>mdata = ft_mvaranalysis(cfg, trials)</div><div>the input is raw data with 25 channels and 237 trials</div><div>removing 234 trials in which no data was selected</div><div>the call to "ft_redefinetrial" took 0 seconds</div>
<div>preprocessing</div><div>preprocessing trial 3 from 3</div><div><br></div><div>the call to "ft_preprocessing" took 0 seconds</div><div>??? Index exceeds matrix dimensions.</div><div><br></div><div>Error in ==> ft_mvaranalysis at 293</div>
<div> maxtim = max(maxtim, data.time{k}(end));</div><div> </div><div><br></div>-- <br><div>Jose L Herrero, PhD</div><div>Department of Psychiatry</div><div><div>Columbia University College of Physicians and Surgeons</div>
</div><div>Cognitive Neuroscience and Schizophrenia Program</div><div>Nathan S. Kline Institute for Psychiatric Research</div><div><br></div>
</div>