[Eeglablist] Add data channel
kknaepen
kknaepen at vub.ac.be
Wed Dec 4 07:46:35 PST 2013
Dear,
I would like to add four channels from another dataset (which are
already in a .set file format) to an existing EEG dataset. Both datasets
are equally long, equal sample rate and synchronized.
I found how to add a new EMPTY channel on a previous message:
EEG.data(end+1,:) = 0;
EEG.nbchan = size(EEG.data,1);
if ~isempty(EEG.chanlocs)
EEG.chanlocs(end+1).label = '';
end;
[ALLEEG EEG CURRENTSET] = eeg_store(ALLEEG, EEG, CURRENTSET);
eeglab redraw
Could anyone help me change this sript so I could load 4 existing
channels into another dataset, please?
Thanks,
Kristel
More information about the eeglablist
mailing list