Я думаю, что решение будет использовать Fixed-Point toolbox:
Панель инструментов позволяет создавать объекты следующих типов:
* fi — Defines a fixed-point numeric object in the MATLAB workspace. Each fi object is composed of value data, a fimath object, and a numerictype object.
* fimath — Governs how overloaded arithmetic operators work with fi objects
* fipref — Defines the display, logging, and data type override preferences of fi objects
* numerictype — Defines the data type and scaling attributes of fi objects
* quantizer — Quantizes data sets