www.gusucode.com > signal 案例源码程序 matlab代码 > signal/GaussianMonopulsePulseTrainExample.m
%% Gaussian Monopulse Pulse Train % Consider a Gaussian monopulse with center frequency $f_c=2$ GHz and % sampled at a rate of 100 GHz. Use the monopulse to construct a pulse % train with a spacing of 7.5 ns. %% % Determine the width $t_c$ of each pulse using the |'cutoff'| option. Set % the delay times to be integer multiples of the spacing. fc = 2e9; fs = 100e9; tc = gmonopuls('cutoff',fc); D = ((0:2)*7.5+2.5)*1e-9; %% % Generate the pulse train such that the total duration is $150t_c$. Plot % the result. t = 0:1/fs:150*tc; yp = pulstran(t,D,'gmonopuls',fc); plot(t,yp)