Problem 1089. Create a random vector of integers with given sum
Solution Stats
Problem Comments
Solution Comments
-
1 Comment
This should be quite straightforward but at 2a.m. my brains are not working 100%. ;)
-
1 Comment
I has exactly the same idea!!
but on the second line I used directly the logical indexing... ;-)
Problem Recent Solvers42
Suggested Problems
-
3800 Solvers
-
All your base are belong to us
486 Solvers
-
210 Solvers
-
How many trades represent all the profit?
557 Solvers
-
697 Solvers
More from this Author31
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!