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 Solvers23
Suggested Problems
-
Given an unsigned integer x, find the largest y by rearranging the bits in x
2078 Solvers
-
Back to basics 6 - Column Vector
1115 Solvers
-
Remove the two elements next to NaN value
714 Solvers
-
378 Solvers
-
Replace secondary diagonal elements of a square array
189 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!