function v = DecToBin(N)
v=[];
while(N>0)
    o = mod(N,2);
    v = [o v];
    N = floor(N/2);
end
end

