You are on page 1of 1

x=[]

for n=1:8
a=randint(8,8)
h=num2str(a)
d=bin2dec(h)
x=[x d];
end
x

You might also like