How to generate a dirac comb in Simulink

18 visualizzazioni (ultimi 30 giorni)
Johannes Siegel
Johannes Siegel il 22 Mar 2021
Commentato: Johannes Siegel il 22 Mar 2021
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

Risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by