FUNCTION REFERENCE
qammod
Modulate symbols using quadrature amplitude modulation.
Modulate symbols using quadrature amplitude modulation.
Syntax
y = qammod(x,M,symOrder,UnitAveragePower=false,InputType='integer')Default Gray order. Binary/custom order is supported. Square QAM for even log2(M), rectangular 2/8-QAM, cross QAM for odd log2(M)>3. Minimum distance is 2 unless UnitAveragePower=true. InputType='bit' groups log2(M) rows MSB first. PlotConstellation=true draws labeled points.
Example
qammod((0:15)',16,UnitAveragePower=true)Differences from MATLAB: M is a power of two <= 65536. OutputDataType='single' is rejected because engine complex storage is double; single input can specify OutputDataType='double'. Fixed-point objects are unsupported.
These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.