This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

zadoffChuSeq

Generate root Zadoff-Chu sequence

Syntax

seq = zadoffChuSeq(R,N)

Description

example

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.

Examples

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);
plot(abs(xcorr(seq)./length(seq)))

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

Behavior changed in R2019a

References

[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