Given seed s, return the n-th rand number using rand(). Round the answer with 4 digits.
n is a postive integer.
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers43
Suggested Problems
-
Return the 3n+1 sequence for n
8520 Solvers
-
1915 Solvers
-
631 Solvers
-
345 Solvers
-
Replace every 3rd element in a vector with 4
267 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!