Hello everyone,
I try to do time-frequency analysis on the EEG data which are processed.
I want to average the trials together within a condition and then average the data within a group before doing the frequency treatments.
The problem is that I cannot average across participants in a group as they do not have the same channel numbers (some channels were removed during the pre-processing).
I have tried to interpolate each of my EEG structures with the interpol.m (Marco Simoes) function which takes as input an EEG structure and a chanlocs - cell array of channels specification (taken from EEG.chanlocs before removing channels) and returns as output an EEG structure with the new electrodes and respective signal added in he right places but I get this type of error: unable to perform assignement because the size of the left size is 70x45500 and the size of the right size is 61x45500.
I don't see how to solve this problem as I want all my structures to have 61 channels so that I can compare the data between participants.
Thank you very much for your help.
Best regards,
Mohamed Bouguerra