multiplication table using for loops
Mostrar comentarios más antiguos
hi , i need a script using for loop and nested one i guess to show this multiplication table, in this order particulary
1
2 4
3 6 9
4 8 12 16
5 10 15 20 25
2 comentarios
James Tursa
el 14 de Mzo. de 2021
What have you done so far? What specific problems are you having with your code?
El-Hassani Ali
el 14 de Mzo. de 2021
Respuestas (1)
for i=1:5
i*(1:i)
end
Categorías
Más información sobre Loops and Conditional Statements en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!