Calculating mean values of a 3D matrix for every rows
    3 Ansichten (letzte 30 Tage)
  
       Ältere Kommentare anzeigen
    
    Joydeb Saha
 am 30 Mär. 2022
  
    
    
    
    
    Kommentiert: Joydeb Saha
 am 6 Apr. 2022
            I have a matrix 12x441x1440. 12 is the dimension of time. how can I get 12 average numbers for every month from that matrix
0 Kommentare
Akzeptierte Antwort
  Simon Chan
      
 am 30 Mär. 2022
        Try this:
mean(yourmatrix,[2 3]);
4 Kommentare
  Bruno Luong
      
      
 am 30 Mär. 2022
				Look like you have old MATLAB version
mean(mean(yourmatrix,2),3);
Weitere Antworten (0)
Siehe auch
Kategorien
				Mehr zu Creating and Concatenating Matrices 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!