How to generate a dirac comb in Simulink

14 Ansichten (letzte 30 Tage)
Johannes Siegel
Johannes Siegel am 22 Mär. 2021
Kommentiert: Johannes Siegel am 22 Mär. 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
  2 Kommentare
Birdman
Birdman am 22 Mär. 2021
Can you share your Simulink model attached?
Johannes Siegel
Johannes Siegel am 22 Mär. 2021
yes, sure.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by