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
You can determine the maximum precision scaling if the range of the variable is known. Example: Maximizing Precision shows that you can determine the range of a fixed-point operation from and
.
For multiplication, you can determine the range from
Radix Point-Only Scaling
For radix point-only scaling, finding Qa results in this simple expression:
![]() | Accumulation | Gain | ![]() |