Closed fernandoandreotti closed 10 years ago
I commented out the calculus using the ground electrode:
ground = repmat(mean(mixture),NB_ELEC,1); mixture = mixture - ground; mecg = mecg - ground; fecg = cellfun(@(x) x - ground,fecg,'UniformOutput',0); noise = cellfun(@(x) x - ground,noise,'UniformOutput',0);
A better solution then averaging the channels should be found. e.g. defining a grond electrode somewhere on the models back.
Done, added input parameter which specifies the location of the reference electrode. By default it is on the back.
I commented out the calculus using the ground electrode:
A better solution then averaging the channels should be found. e.g. defining a grond electrode somewhere on the models back.