r = [0,0,0,1,0,0,1,0,0,0,1,0,0,1,0,0,0];
%
两个= 2。^(15:-1:0)';
out = dec2bin(r *二,16)