logic(1) = -4
logic(2) = -8
logic(3) = -9
logic(4) = 4
logic(5) = 95
logic(6) = 690
Solution Stats
Solution Comments
Show comments
Loading...
Problem Recent Solvers11
Suggested Problems
-
27636 Solvers
-
7861 Solvers
-
315 Solvers
-
1065 Solvers
-
Create a random logical vector of N elements of which M are true.
103 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!