Models a variable gain amplifier
The serdes.VGA
system object scales the amplitude of the input waveform
based on a gain specified by the user.
To scale the input signal:
Create the serdes.VGA
object and set its properties.
Call the object with arguments, as if it were a function.
To learn more about how System objects work, see What Are System Objects?.
returns a VGA object that
modifies a input waveform according to the gain defined by the user.vga
= serdes.VGA
sets properties using one or more name-value pairs. Enclose each property name in quotes.
Unspecified properties have default values.vga
= serdes.VGA(Name
,Value
)
vga = serdes.VGA('Gain',5)
returns a VGA object with a
multiplicative gain of 5.To use an object function, specify the
System object™ as the first input argument. For
example, to release system resources of a System object named obj
, use
this syntax:
release(obj)
AGC | serdes.AGC
| VGA