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.

2 个评论

What is the period of the output signal?
The period is 3 as shown through the subscript.

请先登录,再进行评论。

回答(1 个)

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 的更多信息

产品

版本

R2020a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by