Generating an impulse train

Good morning to all...I have a question: if I have a value of frequency F0=200 Hz, and I want to generate a 200 Hz impulse train, and the number of samples between pulses T0 is specified by SR/F0 (SR = 10000), so I want an impulse is generated every 50 samples, how can I do??

回答(1 个)

Sachin Ganjare
Sachin Ganjare 2012-9-28

0 个投票

You can use 'pulstran' function.
Hope it helps!!!

提问:

2012-9-28

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by