how to cast int8 to a 4bit integer

10 次查看(过去 30 天)
How can I cast a 8 bit integer to a 4bit integer in matlab?
Thanks.
  2 个评论
John D'Errico
John D'Errico 2019-1-15
MATLAB does not have a 4 bit integer type. So you cannot do what you ask in MATLAB.
Walter Roberson
Walter Roberson 2019-1-15
fixed point toolbox is as close as you will get.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Numeric Types 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by