Filter löschen
Filter löschen

bit reversal in a Vector

2 Ansichten (letzte 30 Tage)
Sadia
Sadia am 25 Dez. 2012
i want to take a NOT of one bit in a vector and then restore that bit in the same vector.e.g.
a=[0 1 1 0]
what i need is:
a=[0 0 1 0]
Any ideas??

Akzeptierte Antwort

Matt J
Matt J am 25 Dez. 2012

Weitere Antworten (0)

Kategorien

Mehr zu Multidimensional Arrays finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by