How to fix a randomly generated sample in Matlab after making some changes to the code?
Ältere Kommentare anzeigen
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.
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Share and Distribute Software finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!