Generate Golay sequence
[Ga,Gb] = wlanGolaySequence(len)
example
[Ga,Gb] = wlanGolaySequence(len) returns the Golay sequences Ga and Gb for a specified sequence length. The sequences are defined in IEEE® 802.11ad™-2012, Section 21.11.
Ga
Gb
len
collapse all
Generate complementary 32-length Golay sequences.
[Ga,Gb] = wlanGolaySequence(32);
The sum of the autocorrelations is a dirac delta function.
figure stem(xcorr(Ga)+xcorr(Gb))
Sequence length, specified as 32, 64, or 128.
Data Types: double
double
Golay sequence, returned as a column vector of integers of length len.
Complementary Golay sequence, returned as a column vector of integers of length len.
wlanDMGConfig | wlanDMGDataBitRecover
wlanDMGConfig
wlanDMGDataBitRecover
You have a modified version of this example. Do you want to open this example with your edits?