- 2071 Shrawan · 5 marks
Graphical convolution of two rectangles
Short answer
Graphical convolution of two length-3 pulses (from −1 to 1) gives a triangular output: y[n] = {1,2,3,2,1} for n=−2,…,2. The sum of products of overlapped samples yields maximum 3 at n=0.
A discrete time LTI system has input signal x[n] = 1 for −1 ≤ n ≤ 1 (0 elsewhere) and impulse response h[n] = 1 for −1 ≤ n ≤ 1 (0 elsewhere). Find the output of the system using the graphical method.
The output is the convolution sum y[n] = Σ x[k] h[n − k].
Signals: x[k] = 1 for k = −1, 0, 1; h[k] = 1 for k = −1, 0, 1.
Graphical method:
- Plot x[k] and h[k] against k.
- Fold h[k] about k = 0 to get h[−k] (here it is symmetric, so it is unchanged).
- Shift it by n to get h[n − k].
- Multiply x[k] · h[n − k] point by point and add all the products. This sum is y[n].
- Slide (change n) and repeat.
h[n − k] is non-zero for k = n − 1, n, n + 1. Overlap with x[k] (k = −1 … 1):
| n | Non-zero h[n−k] at k | Overlap with x | y[n] |
|---|---|---|---|
| ≤ −3 | n−1 … n+1 | none | 0 |
| −2 | −3, −2, −1 | k = −1 | 1 |
| −1 | −2, −1, 0 | k = −1, 0 | 2 |
| 0 | −1, 0, 1 | k = −1, 0, 1 | 3 |
| 1 | 0, 1, 2 | k = 0, 1 | 2 |
| 2 | 1, 2, 3 | k = 1 | 1 |
| ≥ 3 | – | none | 0 |
y[n]
3 | o
2 | o | o
1 | o | | | o
0 +-o--+--+--+--+--+--o-- n
-3 -2 -1 0 1 2 3
Answer: y[n] = {1, 2, 3, 2, 1} for n = −2 … 2 (the bold centre sample 3 is at n = 0).
Check: Σy = 9 = (Σx)(Σh) = 3 × 3. The output length is 3 + 3 − 1 = 5.
✓ Answer checked by Claude Opus 5.5 (high effort)
Related questions
- LTI output for 2δ(n) − δ(n−1) input · Digital Signal Analysis and Processing, chapter 1
- LTI output, h[n]=(1/2)^n window · Digital Signal Analysis and Processing, chapter 1 · asked 4×
- LTI output, h[n]=(1/3)^n window · Digital Signal Analysis and Processing, chapter 1 · asked 4×
- LTI output with sparse samples, verify · Digital Signal Analysis and Processing, chapter 1 · asked 4×
- LTI output for h=2u[n]−2u[n−4] · Digital Signal Analysis and Processing, chapter 1 · asked 4×
- Output for 5e^(jπn/3) input · Digital Signal Analysis and Processing, chapter 3 · asked 2×
- Define LTI system and impulse response · Data Communication, chapter 2 · asked 2×
- Periodic and non-periodic signals; LTI output is convolution · Communication Systems, chapter 1
- LTI output for h(t)=e^(-2t), rectangular input · Data Communication, chapter 2 · asked 3×
- LTI system output in time domain · Communication Systems, chapter 1
All Digital Signal Analysis and Processing chapter 1 questions →