How can i decode(unpack) an array of bits with a constant value?
Show older comments
For example; I have an array; [0 0 0 1 1 1 0 0 0]. and a constant value L= 3 how can i get the output as; [0 1 0] ?
Accepted Answer
More Answers (0)
Categories
Find more on Powertrain Blockset in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!