how to cast int8 to a 4bit integer

8 vues (au cours des 30 derniers jours)
XIAOJIA song
XIAOJIA song le 15 Jan 2019
Commenté : Walter Roberson le 15 Jan 2019
How can I cast a 8 bit integer to a 4bit integer in matlab?
Thanks.
  2 commentaires
John D'Errico
John D'Errico le 15 Jan 2019
MATLAB does not have a 4 bit integer type. So you cannot do what you ask in MATLAB.
Walter Roberson
Walter Roberson le 15 Jan 2019
fixed point toolbox is as close as you will get.

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Numeric Types dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by