for i=1: 20
    z(i)=i;
end
z(11)=10;

for j=1:20
k=1;
while j<k
    if z(j)==z(k), count=1, break,end;
    j=j+1
    end
end