legendreseq
Syntax
Description
generates a length-N Legendre sequence with perfect periodic
autocorrelation function (PACF) S
= legendreseq(N
)S
. Sidelobe levels of a PACF are zero.
Legendre sequences are also known as quadratic residue sequences. The input
N
specifies the length of the generated sequence. N % must be an odd
prime number. If N is a prime of a form N=4*n-1, where n % is a positive integer, the
generated sequence is biphase. That is the % sequence elements take two distinct values. If
N is a prime of a form % N=4*n-3, where n is a positive integer, the generated sequence is %
three-phase. The third value appears only once in the first element of the sequence.
Examples
Input Arguments
Output Arguments
References
[1] Levanon, N. and E. Mozeson. Radar Signals. Hoboken, NJ: John Wiley & Sons, 2004.
[2] Farnett, Edward C., George H. Stevens, and Merrill Skolnik. "Pulse compression radar." In Radar handbook Second Edition (1990).
[3] Bomer, L., and Markus Antweiler. "Perfect three-level and three-phase sequences and arrays.", IEEE transactions on communications 42, no. 234 (1994): 767-772.
Extended Capabilities
Version History
Introduced in R2024a