How to assign voltage levels to bit-groups?

3 visualizzazioni (ultimi 30 giorni)
Afaq Ahmad
Afaq Ahmad il 11 Gen 2021
Commentato: Image Analyst il 21 Gen 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 Commenti
Afaq Ahmad
Afaq Ahmad il 13 Gen 2021
Yes thanks! it was a typo.
Image Analyst
Image Analyst il 21 Gen 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.

Accedi per commentare.

Risposte (1)

Walter Roberson
Walter Roberson il 14 Gen 2021

Categorie

Scopri di più su MATLAB in Help Center e File Exchange

Prodotti


Release

R2014a

Community Treasure Hunt

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

Start Hunting!

Translated by