create all logic permutation array
2 次查看(过去 30 天)
显示 更早的评论
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 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!