How can I create an impulse (delta) signal in Simulink?
Afficher commentaires plus anciens
How can I create an impulse (delta) signal in Simulink? I looked for it in "Sources" library but there is not.
Réponse acceptée
Plus de réponses (6)
Chul-Goo Kang
le 28 Déc 2019
4 votes
Use step input and multiply s in the transfer function of the next block.
2 commentaires
Henry Davies
le 30 Mar 2020
Can you please explain what you mean by this?
SAMSARA NIRVANA
le 29 Déc 2021
esta derivando
Fangjun Jiang
le 4 Mai 2018
Modifié(e) : Fangjun Jiang
le 4 Mai 2018
0 votes
From the note of impulse():
Note: In discrete time, impulse computes the response to a unit-area pulse of length Ts and height 1/Ts where Ts is the sample time. This pulse approaches the continuous-time Dirac impulse delta(t) as Ts goes to zero.
So you will construct a pulse of width as Ts and height as 1/Ts.
2 commentaires
Alessio Conte
le 5 Mai 2018
Fangjun Jiang
le 7 Mai 2018
That is correct. When Ts->0, the pulse becomes the theoretical delta (the impulse).
Alessio Conte
le 29 Mar 2019
0 votes
Hiromasa
le 14 Juin 2024
0 votes
Thank you for your question.
One way to create an impulse signal is to use Hit Crossing block. (https://www.mathworks.com/help/simulink/slref/hitcrossing.html)
As shown below, Hit Crossing outputs an impulse signal of magnitue 1. The gain block after the Hit Crossing amplifies the signal by the factor of 1/t where t is a discrete time step for the system.
Hope this information helps.

Guy Rouleau
le 23 Août 2024
0 votes
This blog post provides an in-depth response to this question:
Khadidja
le 21 Oct 2025
0 votes

Catégories
En savoir plus sur Sources dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
