Random Stream and mt19937ar with seed
25 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
DM
le 27 Avr 2015
Réponse apportée : Daylon Hester
le 11 Août 2021
Hello,
The following object is built in by MATLAB
comm.AWGNChannel('NoiseMethod', 'Signal to noise ratio (SNR)',...
'SNR', snrdB, 'RandomStream', 'mt19937ar with seed', 'Seed', 67);
I am wondering what is the use of
'RandomStream', 'mt19937ar with seed', 'Seed', 67
I have seen this expression being used in many objects other than
comm.AWGNChannel.
Thanks
0 commentaires
Réponse acceptée
Sebastian Castro
le 27 Avr 2015
It's a way of generating random numbers. Look at the first example below: http://www.mathworks.com/help/matlab/ref/randstream.html
Also, to see some other types you can refer to this: http://www.mathworks.com/help/matlab/ref/randstream.list.html
- Sebastian
0 commentaires
Plus de réponses (1)
Voir également
Catégories
En savoir plus sur Random Number Generation 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!