removing of a 'three point' spike
    5 Ansichten (letzte 30 Tage)
  
       Ältere Kommentare anzeigen
    
Hi ,
I have a time series with a few spikes. A spike, in general, is a one point outlier. But as the attached image, one of the spikes in the data set is with three points. So it is not ditected by 'findpeaks'. Can anyone have an idea of how I can remove these three points.
Thank you

8 Kommentare
  Mathieu NOE
      
 am 12 Mär. 2021
				Ok 
tx for the clarification
I think I have an idea : I would use one the smoothing (or enveloppe)  function to create a "baseline" and then make a test condition to find all spikes above this line + slight vertical offset. If any of those point are 3 contiguous points , bingo ! 
Antworten (0)
Siehe auch
Kategorien
				Mehr zu Historical Contests 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!
