dB Gain
Multiplying the input signal by a constant in decibels.
blockType: DbGain
Path in the library:
|
Description
Block dB Gain multiplies the value of the input signal by the constant value (gain) in decibels specified in the Gain parameter.
If the input signal contains a matrix of size on , the parameter Gain can be a real matrix of size on , which will be multiplied element-wise by the input signal matrix, or by a real scalar.
The value of the equivalent linear gain
It is displayed in the block icon under the gain value in dB.
The output signal has the same dimension as the input. Block dB Gain Supports real and complex floating-point data types.
Ports
Input
Port_1 — input signal
scalar
| vector
| matrix
The input signal. If the input signal is real and the gain is complex, then the output signal will be complex.
Data types: Float16
, Float32
, Float64
, Int8
, Int16
, Int32
, Int64
, UInt8
, UInt16
, UInt32
, UInt64
, Bool
Support for complex numbers: Yes
Output
Port_1 is the input signal multiplied by the gain factor in dB
scalar
| vector
| matrix
The input signal multiplied by the gain factor in dB. If the input signal of the block dB Gain If the gain is real, and the gain is complex, then the output signal will be complex.
Data types: Float16
, Float32
, Float64
, Int8
, Int16
, Int32
, Int64
, UInt8
, UInt16
, UInt32
, UInt64
, Bool
Parameters
Gain — the coefficient in dB by which the input signal pass is multiplied:q[<br>]-40 (by default)
| `scalar, vector or matrix of any type, except logical `
The coefficient in dB by which the input signal is multiplied. The gain can be a real or complex scalar, vector or matrix of any type, except logical.
Input signal — input signal type
Amplitude (by default)
| Power
The input signal type is Power
or `Amplitude'.
When the Input signal parameter is set to:
-
'Power` — The Input u is treated as a non-negative power signal expressed in watts.
-
`Amplitude' — The Input u is processed as a voltage signal expressed in volts.