How to create an independent loop?
1 view (last 30 days)
Show older comments
hi everyone,
I try to explain my problem in the simplest way,
I wrote a code and I need a part of this code to be repeated 200 times. I tried a 'for loop', but that's not what I'm looking for because every time it runs a new loop the variables get intertwined.
I need this part of the code to be repeated 200 times as if I were running the code for the first time. (I need 200 repetitions, each independent of the other). Is it possible to do this on matlab? thanks for your help
Accepted Answer
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!