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.

This formula shows:

Inherited Scaling for Speed

The number of arithmetic operations can be reduced with these choices:

The resulting formula is

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

where

Radix Point-Only Scaling

For radix point-only scaling, finding Qa results in this simple expression.


 Accumulation Gain