find summation of all the element in the matrix

1 Ansicht (letzte 30 Tage)
Anusha
Anusha am 21 Okt. 2013
Beantwortet: Azzi Abdelmalek am 21 Okt. 2013
D(cmap) is a matrix
how to Find
R=-(∑D(cmap))^2

Akzeptierte Antwort

Azzi Abdelmalek
Azzi Abdelmalek am 21 Okt. 2013
sum(cmap(:))^2

Weitere Antworten (0)

Kategorien

Mehr zu Creating and Concatenating Matrices finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by