Generating an impulse train

8 ビュー (過去 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