How to perform Double Sum with the help of loops?
조회 수: 3 (최근 30일)
이전 댓글 표시
I have a following question, which is to be solved with loops : i+j, where m = 1, n = 12, o = 3, p = 7 and i+j = 3 is.
댓글 수: 0
답변 (1개)
Cris LaPierre
2021년 10월 18일
편집: Cris LaPierre
2021년 10월 18일
BTW, if i+j=3, then there is no double summing necessary, right? You already know the result.
Instead, the value of i is incrementing from m to n, and the value of j is incrementing from o to p, and i+j is the operation to be calculated for all values of i and j.
댓글 수: 0
참고 항목
카테고리
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!