Filter löschen
Filter löschen

Randn gives or does not give same numbers dependent on license or version?

1 Ansicht (letzte 30 Tage)
Hi everyone,
I have posted it in a comment and as a new question since I am not sure what is the policy here:
I inherited some data and I can only see the result files. One number here depends on randn. However it is different across participants ( I am sure that matlab was restarted for every participant). When I run the code on my local machine, I get the same numbers for different participants as described above.
The code on my inherited data was ran on a Linux system where license was obtained from a server. Does the configuration of random number depends on whether you are on a standalone licese or obtain a license from a server? Or does it depend on your matlab version or which operating system you are on ( I am now on Windows and data used to be acquired on Linux). I would be happy for every help!
Thanks Laurie
  1 Kommentar
Bjorn Gustavsson
Bjorn Gustavsson am 26 Aug. 2021
You might find exactly how the random-number generation have evolved over time in the documentation: random-number-seed, random-number-seed_5 and links from there, if you are testing on exactly the same matlab-versions you should have the same sequence by default, but both the default generator and the seed for the sequences have changed over time - as far as I've understood this.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Introduction to Installation and Licensing finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by