Error: in an assignment A(I) = B, the number of elements in B and I must be the same.
X = 100;b = zeros(1,9);for a = 2:9;y = dec2base(x,a);b(a)= y;enddisplay(b)
arrayarraysfor loop
X = 100;b = zeros(1,9);for a = 2:9;y = dec2base(x,a);b(a)= y;enddisplay(b)
Best Answer