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
-
Swap the first and last columns
17171 Solvers
-
Remove all the words that end with "ain"
1861 Solvers
-
Maximum running product for a string of numbers
1752 Solvers
-
781 Solvers
-
Penny flipping - calculate winning probability (easy)
171 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!