[FieldTrip] ft_mvaranalysis with unequal length trials

Jose Herrero jose.herrero66 at gmail.com
Wed May 1 12:08:19 CEST 2013


Hi,

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?

mdata       = ft_mvaranalysis(cfg, trials)
the input is raw data with 25 channels and 237 trials
removing 234 trials in which no data was selected
the call to "ft_redefinetrial" took 0 seconds
preprocessing
preprocessing trial 3 from 3

the call to "ft_preprocessing" took 0 seconds
??? Index exceeds matrix dimensions.

Error in ==> ft_mvaranalysis at 293
  maxtim = max(maxtim, data.time{k}(end));


-- 
Jose L Herrero, PhD
Department of Psychiatry
Columbia University College of Physicians and Surgeons
Cognitive Neuroscience and Schizophrenia Program
Nathan S. Kline Institute for Psychiatric Research
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20130501/f3bffda3/attachment-0001.html>


More information about the fieldtrip mailing list