matlab中将txt文件转换为二进制串后,如何将所得的二进制串存入数组?谢谢!

2024-11-22 04:19:34
推荐回答(1个)
回答1:

a=dec2bin(i,3);c=[str2num(a(1)) str2num(a(2)) str2num(a(3))]