How to calculate peak voltages of a waveform.?
    7 Ansichten (letzte 30 Tage)
  
       Ältere Kommentare anzeigen
    
    Joana
 am 19 Apr. 2020
  
    
    
    
    
    Bearbeitet: Ameer Hamza
      
      
 am 19 Apr. 2020
            I have an EEG potential waveform, which has multiple peaks (Positive and negative). I'm using the findpeaks function to find the peak's .But it doesn't calculate the peak's voltage / y-axis value. It calculates the x-axis value.
Any idea how i can do that.?
This is how i am calculating the peaks:
[~,locs_P1P3] = findpeaks(EEGEpochMean,'MinPeakHeight',0.5, 'MinPeakDistance',100);
[~,locs_N] = findpeaks(EEGEpochMeanInv,'MinPeakHeight',0.5, 'MinPeakDistance',100);
0 Kommentare
Akzeptierte Antwort
  Ameer Hamza
      
      
 am 19 Apr. 2020
        
      Bearbeitet: Ameer Hamza
      
      
 am 19 Apr. 2020
  
      First output argument gives the peak value, you have masked it with '~'
[peak_values,locs_P1P3] = findpeaks(EEGEpochMean,'MinPeakHeight',0.5, 'MinPeakDistance',100);
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
				Mehr zu Spectral Measurements finden Sie in Help Center und File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

