Problem 1090. Create a random logical vector of N elements of which M are true.
Solution Stats
Problem Comments
-
1 Comment
This Test suite sucks.. it does not let pass a right solution.........
Solution Comments
-
1 Comment
The test suite does not check that y has n elements.
Problem Recent Solvers89
Suggested Problems
-
Find state names that start with the letter N
927 Solvers
-
Program an exclusive OR operation with logical operators
664 Solvers
-
Arrange Vector in descending order
6515 Solvers
-
Create a function handle that reverses the input arguments of another function handle
132 Solvers
-
143 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!