find summation of all the element in the matrix

2 visualizzazioni (ultimi 30 giorni)
D(cmap) is a matrix
how to Find
R=-(∑D(cmap))^2

Risposta accettata

Azzi Abdelmalek
Azzi Abdelmalek il 21 Ott 2013
sum(cmap(:))^2

Più risposte (0)

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by