Fixed-Point Blockset | ![]() ![]() |
Accumulation
The accumulation of values is closely associated with addition:
Finding Qa_new involves one multiply of a constant and a variable, two additions, and some bit shifting:
The important difference for fixed-point implementations is that the scaling of the output is identical to the scaling of the first input.
Radix Point-Only Scaling
For radix point-only scaling, finding Qa_new results in this simple expression:
This scaling option only involves one addition and some bit shifting.
Note The negative accumulation of values produces results that are analogous to those produced by the accumulation of values. |
![]() | Addition | Multiplication | ![]() |