Afficher commentaires plus anciens
[EDIT: Thu May 12 23:15:24 UTC 2011 Duplicate Removed - MKF]
a=[0 1 1 0 1 0 1 0 1 0 1 1 1 1 ................]=30 bits how to flip it by 6 bits
1 commentaire
Paulo Silva
le 24 Avr 2011
I'm not familiar with the bit flipping concept, can you give one example or provide more information?
Réponse acceptée
Plus de réponses (2)
Walter Roberson
le 24 Avr 2011
a(6:6:end) = 1 - a(6:6:end);
1 commentaire
mahaveer hanuman
le 24 Avr 2011
mahaveer hanuman
le 24 Avr 2011
0 votes
1 commentaire
Paulo Silva
le 24 Avr 2011
Ok now I understand but please don't accept your own answer because it ain't the solution for the problem.
I made the code but I wan't to be sure that you tried to solve the problem so I ask what have you done so far in order to solve the problem?
Catégories
En savoir plus sur Mathematics dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!