How to make a dictionary library and read from it?

3 views (last 30 days)
I have many bits, say for example k=randi([0,1],1,10000), I want to segment it into 3 bits, and turn these bits into codewords, C=c1,c2,...,c8.
I think I have to save them in a dictionary, or a cell. And then ask whether these codeword matches each three bits or not?
But I dont konw how, because I am new in matlab.
Can you help?
thanks

Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!