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 Comments

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

Sign in to comment.

Answers (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);

Categories

Find more on Graph and Network Algorithms in Help Center and File Exchange

Products

Release

R2020a

Asked:

on 5 Sep 2020

Answered:

on 5 Sep 2020

Community Treasure Hunt

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

Start Hunting!