Summation with For Loop 2
이전 댓글 표시
Hi, wanted to ask how to i do summation for this loop? Thanks for any help.

댓글 수: 2
Scott MacKenzie
2021년 4월 24일
If the f-terms are in arrays A and B. Then the solution is
sum(abs(A)) - abs(sum(B))
Of course, you'll need to do the work of computing A and B. But, your question was about summation.
Jwo Jiunn Kon
2021년 4월 29일
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 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!