Azzera filtri
Azzera filtri

how to convert grey-code to binary code & vice-versa?

8 visualizzazioni (ultimi 30 giorni)
how can I convert grey to binary code? If, A=[00;01;11;10]; then, after convertion, B=[00;01;10;11]; ?????????????????????????????????????????
  1 Commento
Walter Roberson
Walter Roberson il 10 Ott 2012
There are multiple grey codes; to choose one of them requires adding at least one constraint (2 constraints is easier)

Accedi per commentare.

Risposta accettata

Matt Fig
Matt Fig il 10 Ott 2012
B = sort(A)

Più risposte (1)

Image Analyst
Image Analyst il 10 Ott 2012

Categorie

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

Community Treasure Hunt

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

Start Hunting!

Translated by