Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

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 visualizzazione (ultimi 30 giorni)
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 Commento
James Tursa
James Tursa il 20 Giu 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.

Risposte (0)

Questa domanda è chiusa.

Community Treasure Hunt

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

Start Hunting!

Translated by