Problem 1090. Create a random logical vector of N elements of which M are true.
Solution Stats
Problem Comments
-
1 Comment
Massimo Zanetti
on 8 Oct 2016
This Test suite sucks.. it does not let pass a right solution.........
Solution Comments
-
1 Comment
Daniel Pereira
on 2 Feb 2017
The test suite does not check that y has n elements.
Problem Recent Solvers90
Suggested Problems
-
Return a list sorted by number of occurrences
1903 Solvers
-
Project Euler: Problem 1, Multiples of 3 and 5
2331 Solvers
-
Convert a numerical matrix into a cell array of strings
974 Solvers
-
The sum of the numbers in the vector
497 Solvers
-
386 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!