Index in position 2 exceeds array bounds. Index must not exceed 1. Error in dataPrep (line 91) X1 = mask.*x(:,1:options.numOfSub,:); Error in main (line 64) [dataset,options] = dataPrep(d1.dataset.channels, options);
Index in position 2 exceeds array bounds. Index must not exceed 1.
Error in dataPrep (line 91)
X1 = mask.*x(:,1:options.numOfSub,:);
Error in main (line 64)
[dataset,options] = dataPrep(d1.dataset.channels, options);