find summation of all the element in the matrix

2 ビュー (過去 30 日間)
Anusha
Anusha 2013 年 10 月 21 日
回答済み: Azzi Abdelmalek 2013 年 10 月 21 日
D(cmap) is a matrix
how to Find
R=-(∑D(cmap))^2

採用された回答

Azzi Abdelmalek
Azzi Abdelmalek 2013 年 10 月 21 日
sum(cmap(:))^2

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMatrix Indexing についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by