Hello i have a random sequence of 10 bits x=0100100011
I want to create another sequence y but with probability 0.2 is different than x.That actually means that when i have 10 bits i approximately expect that 2 out 10 bits are different than my initial sequence. How can implement that on matlab?
Thank you.