How to sum matrix value?
5 ビュー (過去 30 日間)
古いコメントを表示
I need to sum value in matrix but I can't use "sum". So, Can I sum value in matrix with if-else or while loop? How to create it. Assume I have matrix C=[ 1 2 3 4 5 6 7 8 9 ]
Thank You
1 件のコメント
the cyclist
2015 年 5 月 9 日
Because you "can't use sum", I assume this homework. Show what you've tried so far, and maybe we can give you some hints.
回答 (1 件)
参考
カテゴリ
Help Center および File Exchange で Loops and Conditional Statements についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!