www.gusucode.com > phased 案例源码 matlab代码程序 > phased/ZeroDelayCutFMCWPeriodicAmbiguityFunctionExample.m
%% Zero Delay Cut of FMCW Periodic Ambiguity Function % Plot a zero delay cut for the three-period periodic ambiguity function of an % FMCW waveform. Assume a sweep bandwidth of 100 kHz with a sampling % frequency of 1 MHz. Return and plot the Doppler shift values. fs = 1.0e6; waveform = phased.FMCWWaveform('SweepBandwidth',100.0e3,'SampleRate',fs, ... 'OutputFormat','Sweeps','NumSweeps',1); wav = waveform(); %% % Find the three-period periodic ambiguity function along a zero delay cut. [pamf,doppler] = pambgfun(wav,fs,3,'Cut','Delay'); %% % Plot the zero delay cut of tje periodic ambiguity function. plot(doppler/1.0e3,pamf) xlabel('Doppler Shift (kHz)')