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

padm (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

Syntax

x = padm(y, m)

x = padm(y, m, phi)

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

Legacy Name: pamdemod

Description

Demodulates a sequence of complex Pulse Amplitude Modulated (PAM) symbols into a series of integers.

Examples

Inputs

Name Description
y Specifies the symbols to demodulate. y is a complex, double-precision, floating-point scalar, vector, or matrix.
m Specifies to use m-ary PAM demodulation. m should be an integer equal to or greater than 2.
phi Specifies the initial phase in radians. The default phi is 0.
type Specifies the method to map symbols to demodulated integers. type is a string that accepts the following values:

'Bin' (default) Uses binary mapping to demodulated integers.
'Gray' Uses Gray-coded mapping to demodulated integers.

Outputs

Name Description
x Returns the demodulated integers. x is an I32 scalar, vector, or matrix in the range [0, m-1].

Details

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

Examples

X = randint(1, 1000, 8)
Y = pam(X, 8, 0, 'Gray')
Z = padm(Y, 8, 0, 'Gray')

Related Topics

pam
qam
qadm


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit