- % Use this program to reproduce Fig. 6.8 of text
- close all
- clear all
- taup =0.2;
- pri=1;
- n=5;
- x = train_ambg (taup, n, pri);
- figure(1)
- mesh(x)
- xlabel ('Delay - seconds')
- ylabel ('Doppler - Hz')
- zlabel ('Ambiguity function')
- figure(2)
- contour(x);
- xlabel ('Delay - seconds')
- ylabel ('Doppler - Hz')