MATLAB注意点1、二进制转16进制2、for循环的循环变量在循环体中不能改变
1、二进制转16进制clcclearA = ['0','1','1' ,'1','1','1','1' '0','1','1' ,'1','1','1','0' ] %每次只能转最多4bitb = bin2dec(A(1,1:3))%二进制转10进制c(1,1) = dec2hex(b)%10进制转16进制%每次只能转最多4bitb = bin2dec(A(...