Table Of Contents

pam

Version:
    Last Modified: March 15, 2017

    Modulates a sequence of integers into a series of pulse amplitude modulation (PAM) symbols.

    Syntax

    y = pam(x, m)
    y = pam(x, m, phi)
    y = pam(x, m, phi, type)
    Legacy name: pammod

    Inputs

    x

    Sequence of integers to modulate. x is an integer scalar, vector, or matrix in the range of [0, m-1].

    m

    Uses m-ary PAM modulation. m should be an integer equal to or greater than 2.

    phi

    Initial phase in radians.

    Default: 0

    type

    Method to map the integers to modulated symbols. type is a string that accepts the following values.

    Name Description
    'Bin'

    Uses binary mapping to the modulated symbols.

    'Gray'

    Uses Gray-coded mapping to the modulated symbols.

    Default: 'Bin'

    Outputs

    y

    Modulated symbols. y is a complex, double-precision, floating-point scalar, vector, or matrix.

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

    Where This Node Can Run:

    Desktop OS: Windows

    FPGA: This product does not support FPGA devices


    Recently Viewed Topics