Average for 4d data
    21 vues (au cours des 30 derniers jours)
  
       Afficher commentaires plus anciens
    
    Nurul Ain Basirah Zakaria
 le 6 Nov 2020
  
    
    
    
    
    Commenté : Ameer Hamza
      
      
 le 8 Nov 2020
            Hi! How can I calculate the average for a 160x140x1x12 which are lat,lon,year and month. I want to calculate the average of month for one year.
0 commentaires
Réponse acceptée
  Ameer Hamza
      
      
 le 6 Nov 2020
        You can specify the dimension to the mean() function
M = rand(160,140,1,12);
M_new = mean(M, 4)
6 commentaires
Plus de réponses (0)
Voir également
Catégories
				En savoir plus sur Polar Plots dans Help Center et File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

