You are on page 1of 1

TLT-5606 - Spread Spectrum Techniques

Matlab Exercise #1, 27.1.2011, 14-16, TC221

You can find solution templates in


http://www.cs.tut.fi/kurssit/TLT-5606/matlab.html

1. The first task is to generate all the m-sequences of length N = 15. From
the lectures we know that there are only 2 of them: primitive polynomials
are f (D) = 1 + D3 + D4 and its reciprocal polynomial

(a) Find out the related shift register configurations (use pen and paper)
and make a Matlab script which generates both m-sequences based
on the polynomials.
(b) Verify that the Property A and B given for the m-sequences holds.
(c) Check if the two m-sequences are a preferred pair.

2. The second task is to generate a family of Gold codes.

(a) First, make a Matlab script which generates two m-sequences based
on the primitives f (D) = 1 + D2 + D5 and f (D) = 1 + D2 + D3 +
D4 + D5
(b) Verify that they form a preferred pair.
(c) Generate then the set of Gold codes
(d) Pick (randomly) two Gold codes and check that they have the re-
quired cross-correlation property.

You might also like