How to generate a dirac comb in Simulink

18 次查看(过去 30 天)
Hello,
I want to generate a dirac comb with a certain frequency in Simulink.
My first attempt was using a sampled based pulse generator with a ratio of Period/ Pulse width = 1000. With a sample time of 10^-6 s, this make a frequency of fc=10 kHz.
While in time scope the dirac comb shows a satisfied form (attachment), it differs in the frequency domain (using a spectrum analyzer) from the expected form.
Instead of with a dirac for every n*fc, it shows rather a sinc-function (attachment).
Can s.o help me with this issue? Would be more than happy.
Best regards
Johannes

回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by