Other

How to generate Gold sequence in matlab?

How to generate Gold sequence in matlab?

To generate a Gold sequence:

  1. Define and set up your Gold sequence object. See Construction.
  2. Call step to generate the Gold sequence according to the properties of comm. GoldSequence . The behavior of step is specific to each object in the toolbox.

How do you make a gold sequence?

A set of Gold codes can be generated with the following steps. Pick two maximum length sequences of the same length 2n − 1 such that their absolute cross-correlation is less than or equal to 2, where n is the size of the linear feedback shift register used to generate the maximum length sequence (Gold ’67).

How many PN sequences are required for gold sequence?

The Gold Sequence Generator block uses two PN Sequence Generator blocks to generate the preferred pair of sequences, and then XORs these sequences to produce the output sequence, as shown in the following diagram.

What are called preferred pairs?

A so called “preferred pair” is a combination of m-sequences for which the cross-correlation only shows 3 different values: -1, and . There do not exist preferred pairs for shift-registers with a length equal to. where k is an integer.

How to generate a gold sequence in MATLAB?

To generate a Gold sequence: 1 Define and set up your Gold sequence object. See Construction. 2 Call step to generate the Gold sequence according to the properties of comm.GoldSequence . The behavior of step is… More

How to generate a pseudo random gold sequence?

H = comm.GoldSequence creates a Gold sequence generator System object, H. This object generates a pseudo-random Gold sequence. H = comm.GoldSequence (Name,Value) creates a Gold sequence generator object, H, with each specified property set to the specified value.

How are the gold sequences defined in MathWorks?

The Gold sequences are defined using a specified pair of sequences u and v, of period N = 2 n – 1, called a preferred pair, as defined in Preferred Pairs of Sequences. The set G ( u, v) of Gold sequences is defined by where T represents the operator that shifts vectors cyclically to the left by one place, and represents addition modulo 2.

What are the initial conditions for gold sequence?

The default is [0 0 0 0 0 1]. The initial conditions require a numeric, binary scalar, or a numeric, binary vector with length equal to the degree of the first generator polynomial specified in the FirstPolynomial property.