Main Content


Generate root Zadoff-Chu sequence



seq = zadoffChuSeq(R,N) generates the Rth root Zadoff-Chu sequence with length N, as defined in 3GPP TS 36.211.

The function generates the sequence using the algorithm given by

seq(m+1) = exp(-j·π·R·m·(m+1)/N), for m = 0, ..., N-1.

The function uses a negative polarity on the argument of the exponent, that is, a clockwise sequence of phases.


collapse all

Generate the 25th root Zadoff-Chu sequence with a length of 139.

Plot the absolute values of the output sequence.

seq = zadoffChuSeq(25,139);

Figure contains an axes. The axes contains an object of type line.

Input Arguments

collapse all

Root of the Zadoff-Chu sequence, specified as a positive integer.

Example: 25

Data Types: double

Length of the Zadoff-Chu sequence, specified as an odd positive integer.

Example: 139

Data Types: double

Output Arguments

collapse all

Rth root Zadoff-Chu sequence, returned as an N-by-1 vector of complex values.

Compatibility Considerations

expand all


[1] 3GPP TS 36.211. "Evolved Universal Terrestrial Radio Access (E-UTRA); Physical Channels and Modulation." 3rd Generation Partnership Project; Technical Specification Group Radio Access Network..

Extended Capabilities

C/C++ Code Generation
Generate C and C++ code using MATLAB® Coder™.

Introduced in R2012b