Hi
I have number like a=50 I want to convert it to binary, then I want to randomly choose the position in a binary string and compliment it Like
a=50b=dec2bin(a)b=110010e.g position=4
b becomes
b=110110
how I perform this. kindly help me
Best Answer