find summation of all the element in the matrix

1 view (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)

Categories

Find more on Mathematics in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!