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 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Loops and Conditional Statements 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!