Time Varying Gain
Time-varying gain control (TVG).
blockType: TimeVaryingGain
Path in the library:
|
Description
Block Time Varying Gain applies a time-varying gain to the input signals to compensate for the loss of range in each gating of the range. Time-varying gain (TVG) is sometimes referred to as automatic gain control (AGC).
Ports
Input
X — input signal
Block Time Varying Gain Supports both real and complex scalar, vector or matrix input signals. If the input signal of the block Time Varying Gain If the gain is real, and the gain is complex, then the output signal will be complex.
Data type: Float16
, Float32
, Float64
, Int8
, Int16
, Int32
, Int64
, UInt8
, UInt16
, UInt32
, UInt64
Support for complex numbers: Yes
L — loss, dB
Losses specified as a column vector. The length of the vector must be equal to the number of lines in the input signal X.
The process equalizes the power levels across all samples to match a given reference range. The gain is applied to each column in X independently. The number of rows in X cannot exceed the length of the loss vector specified in the Range losses (dB) parameter.
Data type: Float16
, Float32
, Float64
, Int8
, Int16
, Int32
, Int64
, UInt8
, UInt16
, UInt32
, UInt64
Support for complex numbers: None
Parameters
Source of range losses — source of range losses
Property (by default)
| Input port
Specify the source of range loss as Property
or Input Port
-
Property
— range losses are determined by the Range loss (dB) parameter. -
Input port
— range losses are set using the input port L.
Range loss (dB) — range loss
0.0 (by default)
Set the range loss as a vector — the elements correspond to the samples in the input signal. Units in dB.
Reference range loss (dB) — reference range loss
0.0 (by default)
Reference range loss in dB; scalar value.