Problem 44435. Testing for randomness: uniform distribution of real numbers (distribution checking)
Solution Stats
Solution Comments
-
2 Comments
The Gaussian distribution is considered a normal distribution of random numbers, so why is it being tested as false in the final test? Logically it should return as true shouldn't it ? My code works on all but the final test which seems reversed to me unless you know something I don't ?
Richard, please check the problem description. The task is to identify sets of uniformly distributed random numbers.
The so-called "normal distribution" (another name for which is the "Gaussian distribution") is not uniformly distributed.
This link may help illustrate the difference between those two types of distribution: https://math.stackexchange.com/questions/657254/normally-distributed-random-numbers-vs-uniformly-distributed-random-number
—DIV
Problem Recent Solvers2
Suggested Problems
-
19 Solvers
-
Find last non-zero in a given dimension
36 Solvers
-
Back to basics 13 - Input variables
238 Solvers
-
Find matching string from a list of strings
166 Solvers
-
Divisible by n, prime divisors - 11, 13, 17, & 19
60 Solvers
More from this Author32
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!