How to plot a changing frequency gaussian pulse train?
1 次查看(过去 30 天)
显示 更早的评论
hi,
I have this code -
t = 0 : 1/50E3 : 10e-3;
d = [0 : 1/1E3 : 30e-3]';
y = pulstran(t,d,'gauspuls',10e3,0.5);
plot(t,y)
which is supposed to generate a gaussian pulse train of 30 kHz.
How can I increment each pulse by 10Khz, that is first one being 30 next 40 and so on.
Thanks,
Rohan
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Waveform Generation 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!