Effacer les filtres
Effacer les filtres

Common average refrencing (CAR) application on EEG signals.

29 vues (au cours des 30 derniers jours)
Maanvi Bhatnagar
Maanvi Bhatnagar le 28 Nov 2017
I have a matrix of dimensions 450000*60 of a one class eeg signal. I have to apply Common average referencing (CAR) on it. Matrix dimension 45000*60 where 1:60 is the no. electrodes from 1 to 60 and 45000 is the total number of samples. Each trial consists of 1000 samples. This is to be calculated trial wise Can anybody help me with the code?

Réponse acceptée

Debanjan Botthakur
Debanjan Botthakur le 16 Mar 2018
Modifié(e) : Debanjan Botthakur le 16 Mar 2018
You can try
for i=1:60 signal2(:,i)=signal1(:,i)-mean(signal1,2); end
  1 commentaire
vinay kulkarni
vinay kulkarni le 2 Fév 2019
hello i just want to ask that why do you take 2 there in mean(signal1,2) ?

Connectez-vous pour commenter.

Plus de réponses (1)

zaineb alhakeem
zaineb alhakeem le 7 Mai 2019
It means the average of the channels

Catégories

En savoir plus sur EEG/MEG/ECoG dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by