ECG spectrum wrong?
    6 Ansichten (letzte 30 Tage)
  
       Ältere Kommentare anzeigen
    
    Stephan Lallinger
 am 27 Okt. 2019
  
    
    
    
    
    Bearbeitet: Stephan Lallinger
 am 4 Nov. 2019
            Hi all,
I have a question about an EKG spectrum.
Someone gave me this ECG spectrum for an exercise.
I'm not sure but the spectrum looks weird.
You clearly see a 50 Hz tone and its harmonics.
The whole thing looks like a modulation.
I would say there was no anti aliasing filter used.
Or does an ECG spectrum with 50 Hz + harmonics look like that?
Thanks for the help.
Best Regards.
0 Kommentare
Akzeptierte Antwort
  Daniel M
      
 am 27 Okt. 2019
        I'd say it looks fairly normal once you notch filter the line noise. But there is other preprocessing to do, like a low pass filter. You would probably get a lot out of this article <https://www.ncbi.nlm.nih.gov/m/pubmed/20851409/>
1 Kommentar
Weitere Antworten (3)
  Daniel M
      
 am 29 Okt. 2019
        I'm not sure how you're doing your notch filters, but try this:
Fs = 625; % or whatever your sampling frequency is.
Fn = Fs/2; % Nyquist frequency
numHarmonics = 4; % Let's do 50, 100, 150, 200, 250
lineFreq = 50; % Hz
for fq = ((0:numHarmonics)+1) * lineFreq
    Fl = fq + [-1, 1]; % notch around Fl. Could try [-2, 2] if too tight
    [z,p,k] = butter(6, Fl/Fn, 'stop');
    sos = zp2sos(z,p,k);
    data = filtfilt(sos, 1, data); % assumes data is [time x ... dimensions]
    % overwrites data, and filters sequentially for each notch
end
  Stephan Lallinger
 am 1 Nov. 2019
        4 Kommentare
  Daniel M
      
 am 2 Nov. 2019
				Ok good idea to open a new question. I will look out for it, and see if others can give advice too. In the meantime, think you could post your data here? I'd like to tinker with it a bit.
  Stephan Lallinger
 am 2 Nov. 2019
				
      Bearbeitet: Stephan Lallinger
 am 4 Nov. 2019
  
			
		Siehe auch
Kategorien
				Mehr zu Bartlett finden Sie in Help Center und File Exchange
			
	Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


