Fill outliers without a loop for each rows
    6 Ansichten (letzte 30 Tage)
  
       Ältere Kommentare anzeigen
    
    Ahmet Hakan UYANIK
 am 20 Okt. 2022
  
    
    
    
    
    Beantwortet: David Hill
      
      
 am 20 Okt. 2022
            Hello everybody,
I have a matrix e.g 45500x24, and for each row, I would like to check the outliers and fill with the nearest non-outlier value.
Normally I have been doing,
for i=1:length(matrix)
    matrix(i,:) = filloutliers(matrix(i,:),"nearest","median")
end
Not sure if it is the correct way but it surely takes so much time. Do you have any optimal way?
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
				Mehr zu Loops and Conditional Statements 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!