www.gusucode.com > phased 案例源码 matlab代码程序 > phased/LFMPeriodicAmbiguityDiagramImageExample.m
%% Linear FM Periodic Ambiguity Diagram Image % Display an image of the 9-period periodic ambiguity function for a linear % FM pulse waveform. Assume the pulse repetition frequency is % 10.0e3 Hz and that the sampling frequency is a multiple of the PRF. PRF = 10.0e3; fs = 200*PRF; waveform = phased.LinearFMWaveform('SampleRate',fs,'PulseWidth',1e-5,... 'NumPulses',1,'PRF',PRF); wav = waveform(); %% % Compute and display the 9-period periodic ambiguity function for all delays and frequencies. [pamf,delays,doppler] = pambgfun(wav,fs,9,'Cut','2D'); imagesc(delays*1e6,doppler/1e6,pamf) title('Periodic Ambiguity Function') xlabel('Delay \tau ({\mu}s)') ylabel('Doppler Shift (MHz)') axis xy