could anyone tell me how to get the iterations with different values in the code where rng is used
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Prabha Kumaresan
le 10 Avr 2018
Réponse apportée : Walter Roberson
le 10 Avr 2018
I am calculating the throughput using different values of rng. After calculating the throughput i want to run the code with respect to different iterations. but i am getting the same values of throughput wit respect to different iterations.
could anyone tell me how to get different values of throughput with respect to different iterations.
0 commentaires
Réponse acceptée
Walter Roberson
le 10 Avr 2018
Store the results of each iteration in an array.
Use cell arrays if you need to.
Use nested cell arrays if you need to.
Store everything you might need later. You can always go back afterwards and clean up the parts you did not turn out to need.
Rule of programming: get it to work first, optimize afterwards.
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Loops and Conditional Statements dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!