Fixed-Point Blockset | ![]() ![]() |
Multiplication
Consider the multiplication of two real-world values.
These values are represented by the general slope/bias encoding scheme described in Scaling.
In a fixed-point system, the multiplication of values results in finding the variable Qa.
Inherited Scaling for Speed
The number of arithmetic operations can be reduced with these choices:
Inherited Scaling for Maximum Precision
The maximum precision scaling can be determined if the range of the variable is known. As shown in Example: Maximizing Precision, the range of a fixed-point operation can be determined from and
.
For multiplication, the range can be determined from
Radix Point-Only Scaling
For radix point-only scaling, finding Qa results in this simple expression.
![]() | Accumulation | Gain | ![]() |