General QAM Modulator Baseband
Modulate using quadrature amplitude modulation
Library
AM, in Digital Baseband sublibrary of Modulation
Description
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 in the range [0, (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.
Parameters
- Signal constellation
A real or complex vector that lists the constellation points.
- Output data type
The output data type can be set to
double
,single
,Fixed-point
,User-defined
, orInherit via back propagation
.Setting this to
Fixed-point
orUser-defined
will enable fields in which you can further specify details. Setting this toInherit via back propagation
, sets the output data type and scaling to match the following block.- Output word length
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.- User-defined data type
Specify any signed built-in or signed fixed-point data type. You can specify fixed-point data types using the
fixdt
(Simulink) function. This parameter is only visible when you selectUser-defined
for the Output data type parameter.- Set output fraction length to
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 selectUser-defined
and the specified output data type is a fixed-point data type.- Output fraction length
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
orUser-defined
for the Output data type parameter andUser-defined
for the Set output fraction length to parameter.
Supported Data Types
Port | Supported Data Types |
---|---|
Input |
|
Output |
|
More About
Extended Capabilities
Version History
Introduced before R2006a