Info

This question is closed. Reopen it to edit or answer.

fixed point data types

1 view (last 30 days)
Mahmod
Mahmod on 29 Jul 2014
Closed: MATLAB Answer Bot on 20 Aug 2021
simulink doesnt saturate overflows when the output reaches the representable maximum value, while "Saturate on integer overflow" is active.
as you see, i set the word lenght to 16 and slop to 2^-3 to get maximum of 4095 and minimum of -4095. but the output exceeds the limits
this happens just when i use fixed point data types.
any idea to saturate overflows when using fixed point data types?
hint: i donnt want to use Saturation blocks.

Answers (0)

Community Treasure Hunt

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

Start Hunting!