Generating an impulse train

2 次查看(过去 30 天)
Micaela
Micaela 2012-9-28
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
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!

Translated by