i need this equation matlab code any body help me.

1 visualizzazione (ultimi 30 giorni)

Risposte (1)

Jan
Jan il 15 Gen 2018
Modificato: Jan il 15 Gen 2018
gbar = sum(g(:)) / (M * N);
sigma2 = sum((g(:) - gbar) .^ 2) / (M * N - 1);
Looks straight forward. But what about:
sigma2 = var(g(:))

Categorie

Scopri di più su Simulation, Tuning, and Visualization in Help Center e File Exchange

Tag

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by