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
-
middleAsColumn: Return all but first and last element as a column vector
567 Solvers
-
1022 Solvers
-
Side of an equilateral triangle
4937 Solvers
-
728 Solvers
-
398 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!