serdes.VGA
Models a variable gain amplifier
Description
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?
Creation
Description
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
)
Example: vga = serdes.VGA('Gain',5)
returns a VGA object with a
multiplicative gain of 5.
Properties
Object Functions
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)
Examples
Extended Capabilities
Version History
Introduced in R2019a
See Also
VGA | AGC | serdes.AGC