Plotting a Unit Periodic Impulse Signal
显示 更早的评论

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.
回答(1 个)
Ameer Hamza
2020-9-5
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);

类别
在 帮助中心 和 File Exchange 中查找有关 2-D and 3-D Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!