how to cast int8 to a 4bit integer

11 visualizaciones (últimos 30 días)
XIAOJIA song
XIAOJIA song el 15 de En. de 2019
Comentada: Walter Roberson el 15 de En. de 2019
How can I cast a 8 bit integer to a 4bit integer in matlab?
Thanks.
  2 comentarios
John D'Errico
John D'Errico el 15 de En. de 2019
MATLAB does not have a 4 bit integer type. So you cannot do what you ask in MATLAB.
Walter Roberson
Walter Roberson el 15 de En. de 2019
fixed point toolbox is as close as you will get.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Numeric Types en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by