Consider a Gaussian monopulse with center frequency GHz and sampled at a rate of 100 GHz. Determine the cutoff time using the
'cutoff' option and compute the monopulse between and .
fc = 2e9; fs = 100e9; tc = gmonopuls('cutoff',fc); t = -2*tc:1/fs:2*tc; y = gmonopuls(t,fc);
The monopulse is defined by the equation
where and the exponential factor is such that . Plot the two curves and verify that they match.
sg = 1/(2*pi*fc); ys = exp(1/2)*t/sg.*exp(-(t/sg).^2/2); plot(t,y,t,ys,'.') legend('gmonopuls','Definition')
Gaussian Monopulse Pulse Train
Consider a Gaussian monopulse with center frequency 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 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 . Plot the result.
t = 0:1/fs:150*tc; yp = pulstran(t,D,'gmonopuls',fc); plot(t,yp)
t — Time values
Time values at which the unit-amplitude Gaussian monopulse is calculated, specified as a vector.
fc — Center frequency
1000 (default) | real positive scalar
Center frequency, specified as a real positive scalar expressed in hertz.
y — Monopulse
Monopulse of unit amplitude, returned as a vector.
tc — Time duration
Time duration between the maximum and minimum amplitudes of the pulse, returned as a scalar.
Default values are substituted for empty or omitted trailing input arguments.
C/C++ Code Generation
Generate C and C++ code using MATLAB® Coder™.
Introduced before R2006a