channel selection in timelockanalysis

Harald Stoegbauer h.stoegbauer at GMAIL.COM
Mon May 7 08:55:35 CEST 2007


Dear fieldtripper,

'timelockanalysis' works fine when all subjects have exactly the same
electrodes.

When some subjects have 'bad channels' (missing) it doesn't work.
Trying to narrow the channel selection with cfg.channel doesn't seem
to work, too.
(RAB_U_A is a cell which contains serveral subjects datasets)

cfg =[];
cfg.keepindividual = 'no'
cfg.channel={'E101'};
RUA = timelockgrandaverage(cfg, RAB_U_A{:});

??? Index exceeds matrix dimensions.

Error in ==> timelockgrandaverage at 125
  avgmat(s, :, :) = varargin{s}.avg(:, ResultsTimeSelectCases);


Thanks,

Harald

----------------------------------
The aim of this list is to facilitate the discussion between users of the FieldTrip  toolbox, to share experiences and to discuss new ideas for MEG and EEG analysis.
  http://listserv.surfnet.nl/archives/fieldtrip.html
  http://www.ru.nl/fcdonders/fieldtrip/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20070506/8288d3b5/attachment.html>


More information about the fieldtrip mailing list