Ambiguity and crossambiguity function
afmag = ambgfun(x,Fs,PRF)
afmag = ambgfun(x,y,Fs,PRF)
[afmag,delay,doppler]
= ambgfun(___)
[afmag,delay,doppler]
= ambgfun(___,'Cut','2D')
[afmag,delay]
= ambgfun(___,'Cut','Doppler')
[afmag,delay]
= ambgfun(___,'Cut','Doppler','CutValue',V)
[afmag,doppler]
= ambgfun(___,'Cut','Delay')
[afmag,doppler]
= ambgfun(___,'Cut','Delay','CutValue',V)
ambgfun(___)
returns
the magnitude of the normalized ambiguity function for the vector afmag
= ambgfun(x
,Fs
,PRF
)x
. Fs
is
the sampling rate. PRF
is the pulse repetition
rate.
returns
the magnitude of the normalized crossambiguity function between the
pulse afmag
= ambgfun(x
,y
,Fs
,PRF
)x
and the pulse y
.
[
or afmag
,delay
,doppler
]
= ambgfun(___)[
returns the time
delay vector, afmag
,delay
,doppler
]
= ambgfun(___,'Cut','2D')delay
, and the Doppler frequency
vector, doppler
.
[
returns delays
from a zeroDoppler cut through the 2D normalized ambiguity function
magnitude.afmag
,delay
]
= ambgfun(___,'Cut','Doppler')
[
returns
delays from a nonzero Doppler cut through the 2D normalized ambiguity
function magnitude at Doppler value, afmag
,delay
]
= ambgfun(___,'Cut','Doppler','CutValue',V
)V
.
[
returns the Doppler
values from zerodelay cut through the 2D normalized ambiguity function
magnitude.afmag
,doppler
]
= ambgfun(___,'Cut','Delay')
[
returns
the Doppler values from a onedimensional cut through the 2D normalized
ambiguity function magnitude at a delay value of afmag
,doppler
]
= ambgfun(___,'Cut','Delay','CutValue',V)V
.
ambgfun(___)
, with no output
arguments, plots the ambiguity or crossambiguity function. When 'Cut'
is '2D'
,
the function produces a contour plot of the periodic ambiguity function.
When 'Cut'
is 'Delay'
or 'Doppler'
,
the function produces a line plot of the periodic ambiguity function
cut.

Normalized ambiguity or crossambiguity function magnitudes. 

Time delay vector.
For the ambiguity function, if N_{x} is
the length of signal For the crossambiguity function, let N_{y} be the length of the second signal. The time delay vector consists of N = N_{x}+ N_{y}– 1 equally spaced samples. For an even number of delays, the delay sample times are –(N/2 – 1)/Fs,...,(N/2 – 1))/Fs. For an odd number of delays, if N_{f }= floor(N/2), the delay sample times are –N_{f }/Fs,...,(N_{f } – 1)/Fs. 

Doppler frequency vector.

[1] Levanon, N. and E. Mozeson. Radar Signals. Hoboken, NJ: John Wiley & Sons, 2004.
[2] Mahafza, B. R., and A. Z. Elsherbeni. MATLAB^{®} Simulations for Radar Systems Design. Boca Raton, FL: CRC Press, 2004.
[3] Richards, M. A. Fundamentals of Radar Signal Processing. New York: McGrawHill, 2005.