Filter löschen
Filter löschen

A good way to test uniform random number

4 Ansichten (letzte 30 Tage)
Damiano Capocci
Damiano Capocci am 22 Mär. 2018
Kommentiert: Damiano Capocci am 22 Mär. 2018
Hi, i have got some generators i need to test. These produce uniform random numbers. I found only corrcoef() and runstest() are related to a uniform distribution, the others (like Kolmogorov Smirnov, chisquared etc) test the normality of a distribution of numbers. A possibility may be to convert uniformly distribuited numbers to normal distr numbers (there is erfinv function) so i can use the other tests. Any idea?

Antworten (1)

James Tursa
James Tursa am 22 Mär. 2018
Not sure what the real goal is here. There are lots of uniform random number generator tests that you can use, and you will get lots of hits with a simple web search. Here is one of them:
  3 Kommentare
James Tursa
James Tursa am 22 Mär. 2018
I wasn't trying to imply anything about you ... I just wasn't sure what you were asking. So you want to know what are all of the uniform (or normal etc) random number generator test routines supplied with MATLAB? I.e., you want to know what MATLAB already has, not what you can write with MATLAB?
Damiano Capocci
Damiano Capocci am 22 Mär. 2018
yes :)

Melden Sie sich an, um zu kommentieren.

Community Treasure Hunt

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

Start Hunting!

Translated by