| Signal Processing Toolbox | ![]() |
Generate a Gaussian monopulse.
Syntax
y = gmonopuls(t,fc)
tc = gmonopuls('cutoff',fc)
Description
y = gmonopuls(t,fc)
returns samples of the unity-amplitude Gaussian monopulse with center frequency fc (in hertz) at the times indicated in array t. By default, fc = 1000 Hz.
tc = gmonopuls(' returns the time duration between the maximum and minimum amplitudes of the pulse.cutoff',fc)
Remarks
Default values are substituted for empty or omitted trailing input arguments.
Example 1
Plot a 2 GHz Gaussian monopulse sampled at a rate of 100 GHz.
fc = 2E9; fs=100E9;
tc = gmonopuls('cutoff',fc);
t = -2*tc : 1/fs : 2*tc;
y = gmonopuls(t,fc); plot(t,y)
Example 2
Construct a pulse train from the monopulse of Example 1 using a spacing of 7.5 ns.
fc = 2E9; fs=100E9; % center freq, sample freq
D = [2.5 10 17.5]' * 1e-9; % pulse delay times
tc = gmonopuls('cutoff',fc); % width of each pulse
t = 0 : 1/fs : 150*tc; % signal evaluation time
yp = pulstran(t,D,@gmonopuls,fc);
plot(t,yp)
See Also
|
Generate a swept-frequency cosine. |
gauspuls |
Generate a Gaussian-modulated sinusoidal pulse. |
|
Generate a pulse train. |
|
Generate a sampled aperiodic rectangle. |
|
Generate a sampled aperiodic triangle. |
| gauspuls | grpdelay | ![]() |