Documentation

This is machine translation

Translated by Microsoft
Mouse over text to see original. Click the button below to return to the English verison of the page.

gmonopuls

Gaussian monopulse

Syntax

y = gmonopuls(t,fc)
tc = gmonopuls('cutoff',fc)

Description

y = gmonopuls(t,fc) returns samples of the unit-amplitude Gaussian monopulse with center frequency fc (in hertz) at the times indicated in array t. By default, fc = 1000 Hz.

tc = gmonopuls('cutoff',fc) returns the time duration between the maximum and minimum amplitudes of the pulse.

Examples

collapse all

Consider a Gaussian monopulse with center frequency $f_c=2$ GHz and sampled at a rate of 100 GHz. Determine the cutoff time $t_c$ using the 'cutoff' option and compute the monopulse between $-2t_c$ and $2t_c$.

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

$$y(t)=e^{1/2}(t/\sigma)\exp(-(t/\sigma)^2/2),$$

where $\sigma=t_c/2=1/(2\pi f_c)$ and the exponential factor is such that $y(\sigma)=1$. 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')

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)

More About

collapse all

Tips

Default values are substituted for empty or omitted trailing input arguments.

Introduced before R2006a

Was this topic helpful?