Effacer les filtres
Effacer les filtres

How to generate a dirac comb in Simulink

18 vues (au cours des 30 derniers jours)
Johannes Siegel
Johannes Siegel le 22 Mar 2021
Commenté : Johannes Siegel le 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
  2 commentaires
Birdman
Birdman le 22 Mar 2021
Can you share your Simulink model attached?
Johannes Siegel
Johannes Siegel le 22 Mar 2021
yes, sure.

Connectez-vous pour commenter.

Réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by