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!