matlab-10进制转2进制

M = 4;
for x = 0: 2^M-1
    ch = dec2bin(x, M)  % ch 为 char array
end
posted @ 2022-07-20 10:41  大鱼dayu  阅读(745)  评论(0)    收藏  举报