I have a bitstream which I have grouped into 3-bits (8-ARY system). I want to assign voltage levels to these bits and plot the graph. I am aiming to assign the following voltage levels to their respective bits:
I am working on a generalization of assigning these voltage levels. For example, if I group the bits into 4-bits(16-ARY system), the voltage assigning would go like this:
How is it done in MATLAB?
Thanks.