Graphics Programs Reference
In-Depth Information
MATLAB Function Ðbarker_ambig.mÑ
The MATLAB function
Ðbarker_ambig.mÑ
calculates and plots the ambigu-
ity function for Barker code. It is given in Listing 4.9 in Section 4.6. The syn-
tax as follows:
[ambiguity] = barker_ambig(u)
where
u
is a vector that defines the input code in terms of
Ð1ÓsÑ
and
Ð-1Ós.Ñ
For
example, using as an input, the function will cal-
culate and plot the ambiguity function corresponding to
u
=
[
111 1
1
11
]
B
7
.
Fig. 4.17
shows
the output of this function when
B
13
is used as an input. Fig. 4.18 is similar to
Fig. 4.17, except in this case
B
7
is used as an input.
B
13
Barker code.
Figure 4.17a. Ambiguity function for
Search WWH ::
Custom Search