Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

qam (MathScript RT Module Function)

LabVIEW 2012 MathScript RT Module Help

Edition Date: June 2012

Part Number: 373123C-01

»View Product Info
Download Help (Windows Only)

Owning Class: communications

Requires: MathScript RT Module


y = qam(x, m)

y = qam(x, m, phi)

y = qam(x, m, phi, type)

Legacy Name: qammod


Modulates a sequence of integers into a series of Quadrature Amplitude Modulated (QAM) symbols.



Name Description
x Specifies the sequence of integers to modulate. x is an I32 scalar, vector, or matrix in the range [0, m-1].
m Specifies to use m-ary QAM modulation. m should be a square of a power of 2.
phi Specifies the initial phase in radians. The default phi is 0.
type Specifies the method to map the integers to modulated symbols. type is a string that accepts the following values:

'Bin' (default) Uses binary mapping to the modulated symbols.
'Gray' Uses Gray-coded mapping to the modulated symbols.


Name Description
y Returns the modulated symbols. y is a complex, double-precision, floating-point scalar, vector, or matrix.


The following table lists the support characteristics of this function.

Supported in the LabVIEW Run-Time Engine Yes
Supported on RT targets Yes
Suitable for bounded execution times on RT Not characterized


X = randint(1, 1000, 16)
Y = qam(X, 16, 0, 'Gray')

Related Topics



 Was this document helpful?  submit
  Helpful Not Helpful