i need this equation matlab code any body help me.

1 visualización (últimos 30 días)
Wajahat Nawaz
Wajahat Nawaz el 15 de En. de 2018
Comentada: Image Analyst el 15 de En. de 2018

Respuestas (1)

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

Categorías

Más información sobre Simulation, Tuning, and Visualization en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by