find summation of all the element in the matrix

2 views (last 30 days)
D(cmap) is a matrix
how to Find
R=-(∑D(cmap))^2

Accepted Answer

Azzi Abdelmalek
Azzi Abdelmalek on 21 Oct 2013
sum(cmap(:))^2

More Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!