POP_MERGESET Merge two datasets. If only one argument is given a window pop out to ask for other arguments.

Usage: >> OUTEEG = pop_mergeset( INEEG1, INEEG2, keepall);

Inputs:
INEEG1   
first input dataset or dataset number
INEEG2   
second input dataset or dataset number
keepall   
[0|1] 0 remove ica and 1 preserve ica of the first dataset and recompute the activity on the merged data.

Outputs:
OUTEEG   
merged dataset

Author: Arnaud Delorme, CNL / Salk Institute, 2001

See also: eeglab

See the matlab file pop_mergeset.m (may require other functions)

Back to functions