dec2bin(y,x) works right, but with y=0 it is wrong, example: dec2bin(3,5) 00011 dec2bin(0,5) 0
Log in to post a comment.