Nested loops for double summation

16 visualizaciones (últimos 30 días)
정진 박
정진 박 el 12 de Abr. de 2022
Respondida: Voss el 12 de Abr. de 2022

Respuestas (1)

Voss
Voss el 12 de Abr. de 2022
total = 0;
for i = 1:10
for j = 5:20
total = total + i + j;
end
end

Categorías

Más información sobre Startup and Shutdown en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by