how to cast int8 to a 4bit integer

13 Ansichten (letzte 30 Tage)
XIAOJIA song
XIAOJIA song am 15 Jan. 2019
Kommentiert: Walter Roberson am 15 Jan. 2019
How can I cast a 8 bit integer to a 4bit integer in matlab?
Thanks.
  2 Kommentare
John D'Errico
John D'Errico am 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 am 15 Jan. 2019
fixed point toolbox is as close as you will get.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Numeric Types finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by