how to cast int8 to a 4bit integer

8 visualizzazioni (ultimi 30 giorni)
XIAOJIA song
XIAOJIA song il 15 Gen 2019
Commentato: Walter Roberson il 15 Gen 2019
How can I cast a 8 bit integer to a 4bit integer in matlab?
Thanks.
  2 Commenti
John D'Errico
John D'Errico il 15 Gen 2019
MATLAB does not have a 4 bit integer type. So you cannot do what you ask in MATLAB.
Walter Roberson
Walter Roberson il 15 Gen 2019
fixed point toolbox is as close as you will get.

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su Numeric Types 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