How to make equation in matlab algorithm?
Show older comments

How do I transform this equation into matlab algoritm?
eqn: where M and N are the dimensions of the image, and X is the intensity of the pixel located at row i and column j in the image map.
Answers (1)
Jan
on 23 Mar 2017
E = sum(X(:)) / numel(X);
or
E = mean(X(:))
1 Comment
Afiqah Abu Samah
on 23 Mar 2017
Categories
Find more on Image Analysis in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!