DSP Blockset | ![]() ![]() |
Apply a gain specified in decibels.
Library
Math Functions / Math Operations
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.
Dialog Box
Supported Data Types
To learn how to convert to the above data types in MATLAB and Simulink, see Supported Data Types and How to Convert to Them.
See Also
dB Conversion |
DSP Blockset |
Math Function |
Simulink |
log10 |
MATLAB |
Also see Math Operations for a list of all the blocks in the Math Operations library.
![]() | dB Conversion | DCT | ![]() |