Input a length argument and list all possible logical vectors of that length.
My solution is of size 29. Can you find an even shorter one?
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers20
Suggested Problems
-
Select every other element of a vector
36162 Solvers
-
1247 Solvers
-
Compute a dot product of two vectors x and y
1050 Solvers
-
5765 Solvers
-
423 Solvers
More from this Author14
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!