How to plot a changing frequency gaussian pulse train?
2 views (last 30 days)
Show older comments
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 Comments
Answers (0)
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!