Plotting a Unit Periodic Impulse Signal
Show older comments

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 Comments
Ameer Hamza
on 5 Sep 2020
What is the period of the output signal?
Evan Hicks
on 5 Sep 2020
Answers (1)
Ameer Hamza
on 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);

Categories
Find more on Graph and Network Algorithms in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!