for j=1:1:10
    z(j)=2^j;
end
z=z';