Replace binary values with varying binary values

1 view (last 30 days)
Hello,
I have an array of 32 bit binary numbers and I want to replace the last bits with varying lengths of binary numbers.
10111 10110 In this I only change the last bit
10011 10000 In this one I only change the last 2 bits
and so on
  4 Comments
Adam Danz
Adam Danz on 25 Apr 2019
I still don't understand the question. The example looks like a simple count from 1800, 1801, ..., 1807 in binary.
lavanya vs
lavanya vs on 25 Apr 2019
I want to encode the last few bits based on a mapping ( using LSB)

Sign in to comment.

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!