Modulate using quadrature amplitude modulation
AM, in Digital Baseband sublibrary of Modulation
The General QAM Modulator Baseband block modulates using quadrature amplitude modulation. The output is a baseband representation of the modulated signal.
The Signal constellation parameter defines the constellation by listing its points in a length-M vector of complex numbers. The input signal values must be integers between 0 and M-1. The block maps an input integer m to the (m+1)st value in the Signal constellation vector.
This block accepts a scalar or column vector input signal. For information about the data types each block port supports, see the Supported Data Types table on this page.
The General QAM Modulator Baseband block provides the capability to visualize a signal constellation from the block mask. This Constellation Visualization feature allows you to visualize a signal constellation for specific block parameters. For more information, see the Constellation Visualization section of the Communications Toolbox™ User's Guide.
A real or complex vector that lists the constellation points.
The output data type can be set to double
,
single
, Fixed-point
,
User-defined
, or Inherit via back
propagation
.
Setting this to Fixed-point
or
User-defined
will enable fields in which you can
further specify details. Setting this to Inherit via back
propagation
, sets the output data type and scaling to match
the following block..
Specify the word length, in bits, of the fixed-point output data type.
This parameter is only visible when you select
Fixed-point
for the Output data
type parameter.
Specify any signed built-in or signed fixed-point data type. You can
specify fixed-point data types using the sfix
(Simulink), sint
(Simulink), sfrac
(Simulink), and fixdt
(Simulink) functions from
Fixed-Point Designer™ software. This parameter is only visible when you select
User-defined
for the Output data
type parameter.
Specify the scaling of the fixed-point output by either of the following two methods:
Choose Best precision
to have the
output scaling automatically set such that the output signal has
the best possible precision.
Choose User-defined
to specify the
output scaling in the Output fraction
length parameter.
This parameter is only visible when you select
Fixed-point
for the Output data
type parameter, or when you select
User-defined
and the specified output data
type is a fixed-point data type.
For fixed-point output data types, specify the number of fractional bits,
or bits to the right of the binary point. This parameter is only visible
when you select Fixed-point
or
User-defined
for the Output data
type parameter and User-defined
for the Set output fraction length to parameter.
Port | Supported Data Types |
---|---|
Input |
|
Output |
|