Remove DC component from EEG signals
Mostrar comentarios más antiguos
I have tried two methods to remove the DC component from the EEG signal.
Method 1: Data_without_dc = Data_with_dc - mean (Data_with_dc)
Method 2: Data_fft = fft(Data_with_dc); Data_fft(1) = 0; Data_without_dc = ifft (Data_fft);
I think the first component of signal's FFT is actually the mean of whole signal and it represents signal amplitude at zero frequency, so by making it to zero, we can remove DC component.
But from both the methods, I am getting different results. Please tell me which method is preferable if I have to remove the DC component whose amplitude is unknown in case of EEG data.
1 comentario
Edith
el 28 de Mzo. de 2015
Please why do you want to remove the DC component from the EEG signal? I also trying to show in a plot my signals from 16 electrodes.
Respuesta aceptada
Más respuestas (2)
Narayan Puthanmadam Subramaniyam
el 29 de Mzo. de 2012
0 votos
Hey altaf, if you data is in form of a matrix, then make sure to remove the entire first row and not just the first element. For example, make Data_fft(1,:) = 0. Then your answers should be identical!
VENKATA PHANIKRISHNA B
el 7 de Jun. de 2017
0 votos
Removal of DC component means Mean removal from the signal. By doing this we can eliminate the dc, i.e., 0Hz noise. Here DC component means, the signal positive half cycles average and the negative half cycle is not zero. if x is the signal then xm=x-mean(x).
Comunidades de usuarios
Más respuestas en Power Electronics Control
Categorías
Más información sobre EEG/MEG/ECoG en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!