gmonopuls
高斯单脉冲。
库::`工程师`
例子:
高斯单脉冲
Details
考虑具有载波频率的高斯单脉冲 GHz和采样率 千兆赫。 让我们确定截止时间 使用选项 "截止" 并计算单脉冲范围内的 以前 .
import EngeeDSP.Functions: gmonopuls
fc = 2e9
fs = 100e9
tc = gmonopuls("cutoff", fc)
t = -2*tc:1/fs:2*tc
y = gmonopuls(t, fc)
单脉冲由方程确定:
哪里 ,而指数乘数是这样的 . 让我们绘制两条曲线,并确保它们重合。
using Plots
sg = 1/(2*pi*fc)
ys = exp(1/2) * t/sg .* exp.(-(t/sg).^2/2)
plot(t, y, label="gmonopuls")
scatter!(t, ys, markershape=:circle, label="Definition")

高斯单脉冲序列
Details
考虑具有载波频率的高斯单脉冲 GHz和采样率 千兆赫。 我们使用这个单脉冲来构建一个脉冲序列,它们之间有一个间隔。 7.5 hc。 让我们确定截止时间 对于使用选项的每个脉冲 "截止". 让我们设置延迟时间 脉冲之间的间隔的倍数。
import EngeeDSP.Functions: gmonopuls
import EngeeDSP.Functions: pulstran
fc = 2e9
fs = 100e9
tc = gmonopuls("cutoff", fc)
D = [2.5, 10.0, 17.5] * 1e-9
我们将生成一个总持续时间的脉冲序列 C.让我们在图表上显示结果。
using Plots
t = 0:1/fs:150*tc
yp = pulstran(t, D, "gmonopuls", fc)
plot(t, yp)
