Nested loops for double summation
显示 更早的评论
回答(1 个)
Voss
2022-4-12
total = 0;
for i = 1:10
for j = 5:20
total = total + i + j;
end
end
类别
在 帮助中心 和 File Exchange 中查找有关 Startup and Shutdown 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
