save data from all loop iterations

1 次查看(过去 30 天)
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 个)

Birdman
Birdman 2018-4-20

You need to read about for loop and subscripting.

https://www.mathworks.com/help/matlab/ref/for.html

类别

Help CenterFile Exchange 中查找有关 Loops and Conditional Statements 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by