i need a for loop that outputs certain numbers
Ältere Kommentare anzeigen
i want a loop that does the following:
first it gives me the 2 numbers which are 1 and 2
then it loops again and gives me the 2 number 3 and 4
then it loops again and gives me the 2 numbers 5 and 6
1 Kommentar
Jon
am 16 Mai 2022
what do you mean "gives me", do you just want to display the number on the screen, do you want it saved in array?
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Loops and Conditional Statements finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!