| Fixed-Point Blockset | Search  Help Desk |
| FixPt Gain |
FixPt Matrix Gain.
The gain is specified with the Gain value parameter. The gain can be a scalar or a vector.
The Parameter data type parameter can have the same values as the Output data type parameter as discussed in "Block Parameters". Additionally, if the Parameter data type is a generalized fixed-point number, then you can select from these scaling modes:
Use Specified Scaling -- This is the default mode; it uses the scaling from the Parameter scaling parameter.
Best Precision: Element-wise -- This mode produces radix points such that the precision is maximized for each element of the Gain value vector.
Best Precision: Vector-wise -- This mode produces a common radix point for each element of the Gain value vector based on the best precision for the largest value of the vector.
K. For a description of how the block icon displays the output data type, refer to "Block Icon Display".
Parameters and Dialog Box

Conversions and Operations
The Gain value parameter is converted from doubles to the specified data type offline using round-to-nearest and saturation. Refer to "Parameter Conversions" in the manual for more information about parameter conversions. The FixPt Gain block first multiples its inputs by the Gain value parameter, and then converts those results to the output data type using the specified rounding and overflow modes. Refer to "Rules for Arithmetic Operations" in the manual for more information about the rules this block adheres to when performing operations.Characteristics