i need this equation matlab code any body help me.
    4 Ansichten (letzte 30 Tage)
  
       Ältere Kommentare anzeigen
    

0 Kommentare
Antworten (1)
  Jan
      
      
 am 15 Jan. 2018
        
      Bearbeitet: Jan
      
      
 am 15 Jan. 2018
  
      gbar   = sum(g(:)) / (M * N);
sigma2 = sum((g(:) - gbar) .^ 2) / (M * N - 1);
Looks straight forward. But what about:
sigma2 = var(g(:))
1 Kommentar
  Image Analyst
      
      
 am 15 Jan. 2018
				and
gBar = mean(g(:)) % Compute mean over all values in the 2-D matrix.
Siehe auch
Kategorien
				Mehr zu Numerical Integration and Differential Equations 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!


