Nested loops for double summation

답변 (1개)

Voss
Voss 2022년 4월 12일

1 개 추천

total = 0;
for i = 1:10
for j = 5:20
total = total + i + j;
end
end

카테고리

도움말 센터File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

태그

질문:

2022년 4월 12일

답변:

2022년 4월 12일

Community Treasure Hunt

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

Start Hunting!

Translated by