pam (MathScript RT Module Function)

LabVIEW 2012 MathScript RT模块帮助

版本日期:June 2012

产品编号:373123C-0118

»查看产品信息
下载帮助
(仅限Windows)

Owning Class: communications

Requires: MathScript RT Module

Syntax

y = pam(x, m)

y = pam(x, m, phi)

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

Legacy Name: pammod

Description

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

Examples

Inputs

Name Description
x Specifies the sequence of integers to modulate. x is an I32 scalar, vector, or matrix in the range of [0, m-1].
m Specifies to use m-ary PAM modulation. 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 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.

Outputs

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

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')

Related Topics

padm
qadm
qam

文章是否对您有帮助?

没有帮助