create all logic permutation array
2 views (last 30 days)
Show older comments
how cloud i create all random logic array when the length is known
eg: length=3
arr=[ 1 0 0
0 1 0
0 0 1
1 1 0
0 1 1
1 0 1
1 1 1]
0 Comments
See Also
Categories
Find more on Data Types in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!