subtract average of the column from each of its value.
    2 visualizaciones (últimos 30 días)
  
       Mostrar comentarios más antiguos
    
    Explorer
      
 el 29 de En. de 2016
  
    
    
    
    
    Comentada: Manoj Kumar
 el 20 de Sept. de 2018
            There is a matrix of 128 by 15632 order. Consider the columns of a matrix as a window. I have to subract average of window from each value of the respective window. How to do this using MATLAB?
0 comentarios
Respuesta aceptada
  Walter Roberson
      
      
 el 29 de En. de 2016
        YourVariable - repmat(mean(YourVariable), size(YourVariable,1), 1)
3 comentarios
  Manoj Kumar
 el 20 de Sept. de 2018
				What to do if the window size is selected such as 3*3, 5*5, or 9*9 in case of an image?
Thanks!
Más respuestas (0)
Ver también
Categorías
				Más información sobre Resizing and Reshaping Matrices en Help Center y File Exchange.
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


