i want to flip selected index of 128 bits in counter manner

1 次查看(过去 30 天)
i have 128 bits , and i want to flip certain bits according to certain index with counter
example : if i have 8 bits data (01010101) and i want to flip index (2,4 and 6) by 3-bits counter
so the output will be 01010001 by counter 001 for the selected index 6 01000101 by counter 010 for the selected index 4 00000001 by counter 011 for the selected index 4,2
and so on

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Loops and Conditional Statements 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by