[FieldTrip] deleting bad channels

Eelke Spaak eelke.spaak at donders.ru.nl
Tue Mar 18 12:33:08 CET 2014

Hi Hweeling,


cfg = [];
cfg.channel = {'MEG' '-MLO12'};
data = ft_selectdata(cfg, data);

to remove channel MLO12 from the data, but keep all other MEG channels
(adapt to whatever you need). Note that you can also use this channel
syntax in many other functions directly, like ft_freqanalysis or


On 18 March 2014 12:25, Hwee Ling Lee <hweeling.lee at gmail.com> wrote:
> Hi!
> I have a bad channel that I would like to delete from the data using
> Fieldtrip, however, I'm not sure how the commands work for deleting bad
> channels.
> Would appreciate if someone could help me on this.
> Thanks.
> Cheers,
> Hweeling
> _______________________________________________
> fieldtrip mailing list
> fieldtrip at donders.ru.nl
> http://mailman.science.ru.nl/mailman/listinfo/fieldtrip

More information about the fieldtrip mailing list