dB Gain - Apply decibel gain

Library

Math Functions / Math Operations

dspmathops

Description

The dB Gain block multiplies the input by the decibel values specified in the Gain parameter. For an M-by-N input matrix u with elements uij, the Gain parameter can be a real M-by-N matrix with elements gij to be multiplied element-wise with the input, or a real scalar.

The value of k is 10 for power signals (select Power as the Input signal parameter) and 20 for voltage signals (select Amplitude as the Input signal parameter).

The value of the equivalent linear gain

is displayed in the block icon below the dB gain value. The size and frame status of the output are the same as the input.

The dB Gain block supports real and complex floating-point and fixed-point data types.

Fixed-Point Data Types

The following diagram shows the data types used within the dB Gain subsystem block for fixed-point signals.

The settings for the fixed-point parameters of the Gain block in the diagram above are as follows:

See the Gain reference page for more information.

Dialog Box

Gain

The dB gain to apply to the input, a scalar or a real M-by-N matrix. Tunable.

Input signal

The type of input signal: Power or Amplitude. Tunable.

Supported Data Types

See Also

dB ConversionSignal Processing Blockset
Math FunctionSimulink
log10MATLAB

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS