Plotting a Unit Periodic Impulse Signal
Afficher commentaires plus anciens

I need to graph this signal and do not know the best way to go about graphing the signal of an impulse including a period.
2 commentaires
Ameer Hamza
le 5 Sep 2020
What is the period of the output signal?
Evan Hicks
le 5 Sep 2020
Réponses (1)
Ameer Hamza
le 5 Sep 2020
Try this
syms x k
n = 10;
f = symsum(6*kroneckerDelta(x, 3*k), k, 0, n);
xv = 0:3*n;
yv = subs(f, xv);
stem(xv, yv);

Catégories
En savoir plus sur Graph and Network Algorithms 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!