How to fix a randomly generated sample in Matlab after making some changes to the code?
Afficher commentaires plus anciens
I need to have the same sample (same data points) that was generated from a large set of data in order to make some comparisons as I vary some conditions or parameters. However, the sample changes after each Matlab run. My current sampling is based on the use of "randperm" or sampling without replacement.
Any help would e greatly appreciated. Thanks.
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Share and Distribute Software dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!