how to plot a function consisting of sum of dirac deltas?
6 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hello,
Can anyone help me to plot x(t) = dirac(t+4)+dirac(t+2)+dirac(t)+dirac(t-2)+dirac(t-4). I'm trying to plot vertical lines on t=-4,-2,0,2,4. but it is giving a single vertical line with length -5 to 5 at t=0.
0 comentarios
Respuestas (2)
Bjorn Gustavsson
el 6 de Mayo de 2020
Have a look at stem, it does somewhat "representing Dirac'ses", maybe it is good enough?
HTH
9 comentarios
Ver también
Categorías
Más información sobre Annotations en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!