Problem 44277. Given n, create n random numbers such that their standard deviation is also n.
Solution Stats
Problem Comments
Solution Comments
-
1 Comment
David Verrelli
on 15 Mar 2018
Non-random submission that passes Test Suite. (And it's not the only one!) To be a bit more more strict, the Test Suite could check to ensure separate calls on the function "randpro" with identical input variable "n" produce (significantly) different outputs, which is expected from the requirement of the Problem Statement to output "random" numbers.
-
1 Comment
David Verrelli
on 15 Mar 2018
Hard-coded specifically for the tests in the Test Suite :-P
Problem Recent Solvers60
Suggested Problems
-
12046 Solvers
-
1496 Solvers
-
Make a run-length companion vector
614 Solvers
-
Get the elements of diagonal and antidiagonal for any m-by-n matrix
442 Solvers
-
Check that number is whole number
3021 Solvers
More from this Author100
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!