これを行うための簡単なコマンドはありますか:
M = 0 0 0
0 0 1
0 1 0
0 1 1
1 0 0
1 0 1
1 1 0
1 1 1
私はこれを見つけましたhttp://www.mathworks.co.kr/matlabcentral/fileexchange/7147-combn--4-3-しかし、これはまだmatlabではありません
やってみM = combn([0 1],3)
た Undefined function 'combn' for input arguments of type 'double'. in return