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 Solvers55
Suggested Problems
-
4886 Solvers
-
Project Euler: Problem 7, Nth prime
1022 Solvers
-
Make an awesome ramp for a tiny motorcycle stuntman
414 Solvers
-
Generate a vector like 1,2,2,3,3,3,4,4,4,4
6710 Solvers
-
521 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!