Info
此问题已关闭。 请重新打开它进行编辑或回答。
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 次查看(过去 30 天)
显示 更早的评论
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 个评论
James Tursa
2016-6-20
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.
回答(0 个)
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!