How to assign voltage levels to bit-groups?

1 vue (au cours des 30 derniers jours)
Afaq Ahmad
Afaq Ahmad le 11 Jan 2021
Commenté : Image Analyst le 21 Jan 2021
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.
  5 commentaires
Afaq Ahmad
Afaq Ahmad le 13 Jan 2021
Yes thanks! it was a typo.
Image Analyst
Image Analyst le 21 Jan 2021
dpb, Afaq kindly "flagged" your comment as an answer and so he wants to give you credit for your help, but can't. So, can you more your answer to the Answers section below so he can do that for you? You should have way more reputation points than you, do but you keep putting your answers up here in the comment section so you can't get any credit for them.

Connectez-vous pour commenter.

Réponses (1)

Walter Roberson
Walter Roberson le 14 Jan 2021

Catégories

En savoir plus sur MATLAB dans Help Center et File Exchange

Produits


Version

R2014a

Community Treasure Hunt

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

Start Hunting!

Translated by