Clear Filters
Clear Filters

Info

This question is closed. Reopen it to edit or answer.

hi,I have a 6 bit data A=[1 0 0 1 0 1]; I will have to generate a bit string where .25% of the previous will be erased and replaced by a odd number more than 5.how do i do that?

1 view (last 30 days)
I have a 6 bit data A=[1 0 0 1 0 1]; I will have to generate a bit string where .25% of the previous will be erased and replaced by a odd number more than 5.how do i do that?
  1 Comment
James Tursa
James Tursa on 20 Jun 2016
You haven't given us enough information. You have 6 bits, so what does 25% mean? What does "odd number more than 5" mean? Any limit? Etc. It would be good to show an example with a few iterations.

Answers (0)

This question is closed.

Community Treasure Hunt

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

Start Hunting!