Clear Filters
Clear Filters

Generating an impulse train

2 views (last 30 days)
Micaela
Micaela on 28 Sep 2012
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??

Answers (1)

Sachin Ganjare
Sachin Ganjare on 28 Sep 2012
You can use 'pulstran' function.
Hope it helps!!!

Community Treasure Hunt

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

Start Hunting!