save data from all loop iterations
Ältere Kommentare anzeigen
for I=1:10 //calculation for j=1:10 //calculation end end I want to save all the data because the saving method that I used it give my the last result only. Can anyone help my?
1 Kommentar
Stephen23
am 20 Apr. 2018
Use indexing. How to use loops and indexing is explained in the introductory tutorials:
https://www.mathworks.com/help/matlab/getting-started-with-matlab.html
Antworten (1)
Birdman
am 20 Apr. 2018
0 Stimmen
You need to read about for loop and subscripting.
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!