Chapter 6 · 9 hours
Discrete-Time Systems
IOE past exam questions
Past questions and answers
51 questions set from this chapter, 14 of them more than once. Most asked first.
- Asked 8 times
- 2082 Kartik · 5 marks
- 2081 Asoj · 6 marks
- 2080 Asoj · 3 marks
- 2078 Baisakh · 4 marks
- 2080 Chaitra · 6 marks
- 2076 Baisakh · 4 marks
- 2075 Baisakh · 5 marks
- 2083 Baisakh (new course) · 4 marks
Derive the convolution sum for a discrete-time LTI system.
Answer
The convolution sum expresses the output of a discrete-time LTI system in terms of the input and the impulse response (the output when the input is ).
Step 1: Any sequence as a sum of shifted impulses
Since only at , each sample can be picked out:
For example, gives .
Step 2: Apply the system properties
Let be the system and .
- Linearity (additivity and homogeneity): the are just constants (weights), so
- Time invariance: the response to is .
Step 3: Result
This is the convolution sum. Putting gives the equivalent form
showing convolution is commutative.
Special cases:
- Causal system (, ) and causal input: .
- Lengths: if has samples and has , has samples.
Procedure: (1) fold to ; (2) shift by to get ; (3) multiply by sample by sample; (4) sum the products to get ; (5) repeat for every .
Example: , :
| Calculation | ||
|---|---|---|
| 0 | 1 | |
| 1 | 3 | |
| 2 | 3 | |
| 3 | 2 |
So , with samples.
- Asked 4 times
- 2081 Asoj · 8 marks
- 2077 Chaitra · 4+2 marks
- 2075 Baisakh · 5 marks
- 2072 Asoj · 6 marks
Find the frequency response and impulse response for a system characterized by linear constant coefficient difference equation y[n] = 0.5y[n−1] + x[n].
Answer
Given: , i.e. (system initially at rest).
Frequency response
Take the DTFT of both sides, using the shift property :
Writing , the denominator is .
Magnitude response:
Phase response:
| 0 | |||||
|---|---|---|---|---|---|
| 2.000 | 1.357 | 0.894 | 0.715 | 0.667 | |
| Phase | 0° | −28.7° | −26.6° | −14.6° | 0° |
The gain is largest at and smallest at , so the system is a low pass filter. is periodic with period .
Impulse response
Using the DTFT pair for , with :
Check by recursion (, ):
| 0 | 1 | 2 | 3 | 4 | |
|---|---|---|---|---|---|
| 1 | 0.5 | 0.25 | 0.125 | 0.0625 |
This matches . The system is causal ( for ), stable (), and IIR (infinite-length ). Note , as expected.
- Asked 4 times
- 2080 Asoj · 3 marks
- 2079 Asoj · 3 marks
- 2080 Chaitra · 4 marks
- 2078 Chaitra · 3 marks
Determine if the following system is linear y[n] = ax[n] + b
Answer
A system is linear if it obeys superposition: .
Given:
Individual outputs: and .
Weighted sum of outputs:
Output for the combined input :
These are equal only if for all , i.e. only if .
Zero-input check: gives . A linear system must give zero output for zero input.
Conclusion:
- For the system is non-linear. It is incrementally linear: the difference between two outputs, , is linear in the difference of inputs. It can be seen as a linear system plus a fixed zero-input response .
- For , is linear.
- Asked 3 times
- 2080 Asoj · 2 marks
- 2079 Asoj · 5 marks
- 2078 Chaitra · 5 marks
What is the condition for LTI system to be causal?
Answer
An LTI system is causal if and only if its impulse response is zero for negative time:
Reason: the output of a DT LTI system is the convolution sum
For , is an input at a time later than (a future value). A causal system's output cannot depend on future inputs, so every weight for must be zero. Then
Physically: is the response to applied at , and a causal system cannot respond before the input arrives.
Examples:
- : causal.
- : causal.
- , i.e. : non-causal (uses the future input ).
- : non-causal.
Related terms: a sequence that is zero for is called a causal sequence. If for instead, the system is anti-causal. Causality is needed for real-time operation; non-causal systems can still be used for stored data (e.g. image processing).
- Asked 3 times
- 2080 Asoj · 3 marks
- 2079 Asoj · 3 marks
- 2078 Chaitra · 3 marks
Check if the system is time invariant y[n] = nx[n] − x[n−1]
Answer
A system is time invariant if delaying the input by only delays the output by : .
Given:
Step 1 – Output for the delayed input (replace only, not the multiplying it):
Step 2 – Delayed output (replace every by ):
Step 3 – Compare:
Since (for ), the system is time variant.
Reason: the coefficient multiplying changes with time, so the system's gain is different at different instants. The second term alone is time invariant, but the first term makes the whole system time variant.
Numerical check: take : . For : , which is not .
- Asked 3 times
- 2078 Chaitra · 6 marks
- 2073 Magh · 2+6 marks
- 2072 Magh · 2+5 marks
What is convolution? Obtain the expression for convolution sum.
Answer
Convolution
Convolution is the operation that gives the output of an LTI system from its input and its impulse response. For discrete time, the output is a weighted sum of the present and past (and possibly future) inputs, with the impulse response values as weights:
Here is the impulse response, the output when the input is the unit impulse .
Expression for the convolution sum
Step 1: Represent the input with impulses. Using the sifting property, any sequence is a sum of scaled, shifted impulses:
e.g. .
Step 2: Response to one impulse. By definition .
Step 3: Time invariance. .
Step 4: Homogeneity. ( is a constant for each ).
Step 5: Additivity. The output for the sum of all these inputs is the sum of their outputs:
This is the convolution sum. With it can also be written (commutative property).
For a causal system with a causal input: .
Steps to evaluate: fold ; shift to ; multiply with ; add all products; repeat for each . If the lengths are and , the output length is , starting at (start of ) + (start of ).
Example: , :
So .
- Asked 2 times
- 2082 Chaitra · 6 marks
- 2080 Chaitra · 8 marks
Find impulse response for the DT system given by the following linear constant coefficient difference equation. y[n] − (3/4)y[n−1] + (1/8)y[n−2] = 2x[n]
Answer
Given: , system initially at rest.
Step 1: Frequency response
Take the DTFT ():
Step 2: Factorise the denominator
Let . The roots of come from , giving . So
Step 3: Partial fractions
Step 4: Inverse DTFT
Using ():
Check by recursion
, with :
| Recursion | Formula | |
|---|---|---|
| 0 | 2 | |
| 1 | ||
| 2 | ||
| 3 |
Both agree. Both poles (, ) are inside the unit circle, so the system is causal and stable; decays to zero. Also .
Answer:
- Asked 2 times
- 2081 Chaitra · 6 marks
- 2069 Bhadra · 8 marks
Find the frequency response H(e^(jω)), plot the magnitude and impulse response h[n] for a system characterized by linear constant coefficient difference equation y[n] = 0.5y[n−1] + x[n]
Answer
Given: , initially at rest.
Frequency response
DTFT of both sides:
Magnitude:
Phase:
Magnitude plot
| 0 | |||||
|---|---|---|---|---|---|
| 2.000 | 1.357 | 0.894 | 0.715 | 0.667 | |
| (for ) | 0° | −28.7° | −26.6° | −14.6° | 0° |
|H|
2.0 | *
| .' '.
1.36| * *
| .' '.
0.89| * *
0.67|* *
+--+---+---+---+---+--> w
-pi -pi/2 0 pi/2 pi
The magnitude is even in , has its maximum 2 at and its minimum at , and repeats every . So the system is a low pass filter. The phase is odd in (maximum lag 30° at ).
Impulse response
Using with :
| <0 | 0 | 1 | 2 | 3 | 4 | 5 | |
|---|---|---|---|---|---|---|---|
| 0 | 1 | 0.5 | 0.25 | 0.125 | 0.0625 | 0.03125 |
h[n]
1.0 | o
| |
0.5 | | o
0.25 | | | o
| | | | o o .
0 +-o-+--+--+--+--+--+--> n
-1 0 1 2 3 4 5
The system is causal, stable () and IIR.
- Asked 2 times
- 2082 Kartik · 5 marks
- 2083 Baisakh (new course) · 4 marks
Find out the frequency response of the following signal y[n] = 0.5x[n] − 0.5x[n−1]; h[n] = 1/2 for n = 0 and −1/2 for n = 1
Answer
Given: , so (a two-tap FIR system: a scaled first difference).
Frequency response
Factor out :
Magnitude:
Phase: for (and for ): linear phase apart from the jump.
| 0 | |||||
|---|---|---|---|---|---|
| 0 | 0.383 | 0.707 | 0.924 | 1 | |
| – | 67.5° | 45° | 22.5° | 0° |
|H|
1 |* *
| '. .'
0.7 | * *
| '. .'
0 +--------'-*-'--------> w
-pi 0 pi
Interpretation: DC () is blocked completely and the highest frequency () passes with gain 1, so this is a simple high pass filter (a difference/differentiator-like system). Being FIR, it is always stable.
- Asked 2 times
- 2080 Asoj · 6 marks
- 2074 Bhadra · 7 marks
Perform convolution sum of signal x[n] = {1, 2, 0, −1} and h[n] = {2, 0, 2}
Answer
No origin is marked, so take the first sample of each sequence at : for and for .
Convolution sum:
Output range: starts at ; length , so .
Tabular method
Each row is one input sample times the shifted ; add the columns:
| Row | ||||||
|---|---|---|---|---|---|---|
| 2 | 0 | 2 | ||||
| 4 | 0 | 4 | ||||
| 0 | 0 | 0 | ||||
| -2 | 0 | -2 | ||||
| 2 | 4 | 2 | 2 | 0 | -2 |
Check by direct calculation
Sum check: , and .
Answer:
i.e. .
(If and had different origins, the values stay the same and only the starting index shifts: start of = start of + start of .)
- Asked 2 times
- 2080 Chaitra · 8 marks
- 2069 Bhadra · 7 marks
Find the output of an LTI system given by: x[n] = δ[n] + 2δ[n−1] − δ[n−3] and h[n] = 2δ[n+1] + 2δ[n−1].
Answer
Given:
- , for .
- , for .
Method 1: Using
Convolution with a shifted impulse just shifts the signal, and convolution is distributive:
Adding:
Method 2: Tabular check
Output starts at ; length , so .
| Row | ||||||
|---|---|---|---|---|---|---|
| 2 | 0 | 2 | ||||
| 4 | 0 | 4 | ||||
| 0 | 0 | 0 | ||||
| -2 | 0 | -2 | ||||
| 2 | 4 | 2 | 2 | 0 | -2 |
Both methods agree. Sum check: .
Answer:
with , , , , , .
y[n]
4 | o
| |
2 | o | o o
| | | | |
0 +---+---+---+---+---o---+--> n
| -1 0 1 2 3 4
-2 | o
- Asked 2 times
- 2078 Poush · 6 marks
- 2079 Chaitra · 5 marks
State and explain (describe) different properties of a discrete-time LTI system with suitable examples.
Answer
A discrete-time LTI system is linear and time invariant. It is completely described by its impulse response , and its output is the convolution sum . Its main properties are listed below, with the test in terms of .
1. Commutative property
: input and impulse response can be interchanged. Example: .
2. Associative property (cascade)
. Two systems in cascade equal one system with , and the order of the cascade does not matter.
x -->[h1]-->[h2]--> y == x -->[h1*h2]--> y
3. Distributive property (parallel)
. Two systems in parallel equal one system with .
4. Memory
The system is memoryless only if , i.e. . Otherwise it has memory. Example: () has memory.
5. Causality
Causal if for , so the output uses no future inputs. Example: is causal; () is not.
6. Stability (BIBO)
Stable if the impulse response is absolutely summable:
Example: gives , stable; (accumulator) gives an infinite sum, unstable. Every FIR system is stable.
7. Invertibility
Invertible if an inverse system exists with . Example: the accumulator has inverse (first difference).
8. Identity and unit step response
and . The step response is the running sum of : .
| Property | Condition on |
|---|---|
| Memoryless | |
| Causal | , |
| Stable | |
| Invertible | |
| Cascade | |
| Parallel |
- Asked 2 times
- 2076 Bhadra · 6 marks
- 2075 Baisakh · 5 marks
Perform convolution between signals: x₁[n] = {1, 2, 1, −1} with origin at second position from left and x₂[n] = {1, 2, 3, 1} with origin at first position from left.
Answer
Given (origin marked):
- , so , , , ().
- , so .
Output range: start ; length ; so .
Tabular method
Each row is one sample of times shifted to that sample's position:
| Row | |||||||
|---|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 1 | ||||
| 2 | 4 | 6 | 2 | ||||
| 1 | 2 | 3 | 1 | ||||
| -1 | -2 | -3 | -1 | ||||
| 1 | 4 | 8 | 8 | 3 | -2 | -1 |
Direct check of some values
Sum check: , and .
Answer:
for (the arrow marks , so ).
- Asked 2 times
- 2073 Magh · 7 marks
- 2082 Bhadra (new course) · 5 marks
A discrete time LTI system is defined by the impulse response h[n] = n for −2 ≤ n ≤ 2; 0 otherwise, i.e. h[n] = {−2, −1, 0, 1, 2}. If the input to the given system is x[n] = {1, −0.25, 0, −1, 0.5, −0.5} (↑ at −0.25, i.e. x[0] = −0.25), find and plot the output of the system.
Answer
Given:
- for .
- for .
Output range: start ; length ; so .
Tabular method
Each row is times shifted to start at :
| Row | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| -2 | -1 | 0 | 1 | 2 | ||||||
| 0.5 | 0.25 | 0 | -0.25 | -0.5 | ||||||
| 0 | 0 | 0 | 0 | 0 | ||||||
| 2 | 1 | 0 | -1 | -2 | ||||||
| -1 | -0.5 | 0 | 0.5 | 1 | ||||||
| 1 | 0.5 | 0 | -0.5 | -1 | ||||||
| -2 | -0.5 | 0.25 | 3 | 1.75 | 0 | -0.5 | -1.5 | 0.5 | -1 |
Sample working:
Sum check: , and .
Answer:
for .
Plot
Stem plot drawn sideways (each # = 0.25; left of | is negative):
n y[n]
-3 -2.00 ########|
-2 -0.50 ##|
-1 0.25 |#
0 3.00 |############
1 1.75 |#######
2 0.00 |
3 -0.50 ##|
4 -1.50 ######|
5 0.50 |##
6 -1.00 ####|
| −3 | −2 | −1 | 0 | 1 | 2 | 3 | 4 | 5 | 6 | |
|---|---|---|---|---|---|---|---|---|---|---|
| −2 | −0.5 | 0.25 | 3 | 1.75 | 0 | −0.5 | −1.5 | 0.5 | −1 |
- 2082 Chaitra · 6 marks
Find the output of the LTI system with impulse response h[n] = 2ⁿ{u[n] − u[n−3]} and x[n] = δ[n] + δ[n−1] + δ[n−3]. Also verify the answer.
Answer
Given:
- : non-zero for , so .
- .
Method 1: Impulse shifting
Since and convolution is distributive:
| 0 | 1 | 2 | 3 | 4 | 5 | |
|---|---|---|---|---|---|---|
| 1 | 2 | 4 | ||||
| 1 | 2 | 4 | ||||
| 1 | 2 | 4 | ||||
| 1 | 3 | 6 | 5 | 2 | 4 |
i.e. .
Verification (convolution sum, )
Output length , from to :
Sum check: and .
Both methods give the same result, so the answer is verified.
- 2082 Chaitra · 6 marks
Find the convolution between signals x[n] = {1, 2, 2, 1} and h[n] = {1, 2, 2, −1}. Choose your own origin.
Answer
Chosen origin: first sample of each sequence at : and , both for .
Output starts at , length , so .
Tabular method
| Row | |||||||
|---|---|---|---|---|---|---|---|
| 1 | 2 | 2 | -1 | ||||
| 2 | 4 | 4 | -2 | ||||
| 2 | 4 | 4 | -2 | ||||
| 1 | 2 | 2 | -1 | ||||
| 1 | 4 | 8 | 8 | 4 | 0 | -1 |
Direct working
Sum check: , and .
Answer:
Stem plot drawn sideways (each # = 0.5; left of | is negative):
n y[n]
0 1 |##
1 4 |########
2 8 |################
3 8 |################
4 4 |########
5 0 |
6 -1 ##|
- 2081 Chaitra · 6 marks
Find convolution between the signals x[n] = {3, 5, 6, 9} and h[n] = {−1, 3, 5}. Choose your appropriate origin. Show the output signal.
Answer
Chosen origin: first sample of each sequence at : () and ().
Output starts at , length , so .
Tabular method
| Row | ||||||
|---|---|---|---|---|---|---|
| -3 | 9 | 15 | ||||
| -5 | 15 | 25 | ||||
| -6 | 18 | 30 | ||||
| -9 | 27 | 45 | ||||
| -3 | 4 | 24 | 34 | 57 | 45 |
Direct working
Sum check: and .
Answer (output signal):
Stem plot drawn sideways (each # = 3; left of | is negative):
n y[n]
0 -3 #|
1 4 |#
2 24 |########
3 34 |###########
4 57 |###################
5 45 |###############
- 2081 Asoj · 6 marks
Find the output of an LTI system, for input x[n] = {1/4, −1, 2} and h[n] = {2, 2/4, −2}.
Answer
No origin is marked, so take the first sample at : and (note ).
The output of an LTI system is .
Output starts at , length , so .
Tabular method
| Row | |||||
|---|---|---|---|---|---|
| 0.5 | 0.125 | -0.5 | |||
| -2 | -0.5 | 2 | |||
| 4 | 1 | -4 | |||
| 0.5 | -1.875 | 3 | 3 | -4 |
Direct working
Sum check: , and .
Answer:
- 2079 Jestha · 8 marks
Find and plot the convolution sum of the signals x[n] = {−0.5, 1, −1, 0.5} and y[n] = {1, 2, −1, 0, 2, −1}.
Answer
No origin is marked, so take the first sample of each at : () and ().
Let the result be .
Output starts at ; length , so .
Tabular method
Each row is one sample of times shifted to that position (last row is the column sum ):
| Row | |||||||||
|---|---|---|---|---|---|---|---|---|---|
| -0.5 | -1 | 0.5 | 0 | -1 | 0.5 | ||||
| 1 | 2 | -1 | 0 | 2 | -1 | ||||
| -1 | -2 | 1 | 0 | -2 | 1 | ||||
| 0.5 | 1 | -0.5 | 0 | 1 | -0.5 | ||||
| -0.5 | 0 | 1.5 | -2.5 | 1 | 2 | -3 | 2 | -0.5 |
Direct working
Sum check: , and .
Answer:
Plot
Stem plot drawn sideways (each # = 0.5; left of | is negative):
n z[n]
0 -0.5 #|
1 0.0 |
2 1.5 |###
3 -2.5 #####|
4 1.0 |##
5 2.0 |####
6 -3.0 ######|
7 2.0 |####
8 -0.5 #|
- 2079 Jestha · 7 marks
For a system characterized by linear constant coefficient difference equation y[n] = 0.4y[n−1] + x[n], find and plot the transfer function and impulse response of the system.
Answer
Given: , i.e. , initially at rest.
Transfer function (frequency response)
Take the DTFT of both sides ():
(In the z-domain, , a pole at inside the unit circle.)
With :
| 0 | |||||
|---|---|---|---|---|---|
| 1.667 | 1.297 | 0.928 | 0.761 | 0.714 | |
| 0° | −21.5° | −21.8° | −12.4° | 0° |
|H|
1.67| *
| .' '.
1.30| * *
0.93| * *
0.71| * *
+--+-------+-------+--> w
-pi 0 pi
The magnitude is even and periodic (), maximum at and minimum at : a low pass system.
Impulse response
Using with :
| <0 | 0 | 1 | 2 | 3 | 4 | |
|---|---|---|---|---|---|---|
| 0 | 1 | 0.4 | 0.16 | 0.064 | 0.0256 |
(Recursion check: , , .)
h[n]
1.0 | o
| |
0.4 | | o
0.16 | | | o
| | | | o .
0 +--+--+--+--+--+--> n
0 1 2 3 4
The system is causal, stable () and IIR.
- 2078 Baisakh · 6 marks
Find the convolution between the following sequences. h[n] = {2, 1, 5, 7}, x[n] = {1, 3, 5, 9, 6}. Choose origin as per your choice.
Answer
Chosen origin: first sample at for both: () and ().
Output starts at ; length , so .
Tabular method
| Row | ||||||||
|---|---|---|---|---|---|---|---|---|
| 2 | 1 | 5 | 7 | |||||
| 6 | 3 | 15 | 21 | |||||
| 10 | 5 | 25 | 35 | |||||
| 18 | 9 | 45 | 63 | |||||
| 12 | 6 | 30 | 42 | |||||
| 2 | 7 | 18 | 45 | 67 | 86 | 93 | 42 |
Direct working
Sum check: , and .
Answer:
- 2078 Baisakh · 6 marks
Derive and plot the impulse response and frequency response of a system characterized by the difference equation y[n] + 0.55y[n−1] = x[n]
Answer
Given: , initially at rest.
Impulse response
Put , so with :
- , and so on.
So
| 0 | 1 | 2 | 3 | 4 | 5 | |
|---|---|---|---|---|---|---|
| 1 | −0.55 | 0.3025 | −0.1664 | 0.0915 | −0.0503 |
h[n]
1.0 | o
| | o o
0 +--+--+--+--+--+--+--+--> n
| 0 | 2 | 4 | 6
-0.55| o o o
The samples alternate in sign and decay (since ): causal and stable, .
Frequency response
DTFT of the difference equation:
(Also obtained from with .)
Magnitude:
Phase:
| 0 | |||||
|---|---|---|---|---|---|
| 0.645 | 0.693 | 0.876 | 1.381 | 2.222 | |
| 0° | 15.6° | 28.8° | 32.5° | 0° |
|H|
2.22|* *
| '. .'
1.38| * *
0.88| * *
0.65| '-*-'
+--+-------+-------+--> w
-pi 0 pi
The gain is smallest at () and largest at (), so this system is a high pass filter: the negative coefficient in makes it emphasise rapid sample-to-sample changes. is even and is odd, both periodic with .
- 2078 Baisakh · 6 marks
If the impulse response of a discrete LTI system is h[n] = u[n] and input to the system is x[n] = 2ⁿu[−n], determine the output y[n] of the system.
Answer
Given: (accumulator) and , which is non-zero only for : .
Limits: for ; for . So runs from to .
Case 1: (here )
Case 2: (here )
Answer:
(At both forms give 2, so the pieces join.)
| −3 | −2 | −1 | 0 | 1 | 2 | |
|---|---|---|---|---|---|---|
| 0.25 | 0.5 | 1 | 2 | 2 | 2 |
y[n]
2 | o o o o ...
1 | o | | | |
0.5 | o | | | | |
| o | | | | | |
0 +--+--+--+--+--+--+--+--> n
-3 -2 -1 0 1 2 3
This makes sense: is an accumulator, so , the running sum of the input. The sum keeps growing until , then stays at the total because the input is zero for .
- 2078 Poush · 2+3 marks
Define transfer function and impulse response in discrete-time. Briefly explain the procedure of drawing a bode plot.
Answer
Impulse response (discrete time)
The impulse response of a discrete-time LTI system is the output when the input is the unit impulse and the system is initially at rest:
Because any input can be written as , the output of an LTI system is fully fixed by through the convolution sum .
Transfer function (discrete time)
The transfer function is the ratio of the transform of the output to the transform of the input (zero initial conditions). It equals the transform of :
(the frequency response) is evaluated on the unit circle . Example: for , and .
Procedure for drawing a Bode plot
A Bode plot is a pair of graphs: magnitude in dB, , and phase , both against .
- Write in standard (time-constant) form, e.g. .
- Identify the factors: constant , poles/zeros at the origin, simple real poles/zeros, and quadratic factors. Note each corner frequency ().
- Draw the asymptote of each factor:
- constant: flat line at dB, phase 0° (or 180° if );
- pole at origin: line of dB/decade through 0 dB at , phase ;
- simple pole: 0 dB up to the corner, then dB/decade; phase goes from 0° to (−45° at the corner);
- simple zero: same but dB/decade and ;
- quadratic pole: dB/decade after , phase 0° to −180°.
- Add the magnitude asymptotes (dB adds because log of a product is a sum), starting from the lowest frequency; the slope changes by ±20 dB/dec at each corner.
- Add the phase curves of all factors at several frequencies.
- Correct the asymptotic plot if needed (about 3 dB at a simple corner; resonance peak for low damping).
For a discrete-time system the same idea is used with plotted for (it is periodic in ), usually on a linear frequency axis.
dB
|------\ magnitude: flat, then
| \ -20 dB/dec rolls off after corner
| \
+---------+--------> log w
w_c
- 2078 Poush · 4 marks
Determine the range of a and b for which the given LTI system becomes stable whose impulse response is: h[n] = e^(an) u[n] + e^(bn) u[−n], where u[n] is discrete-time unit step function.
Answer
An LTI system is BIBO stable if and only if its impulse response is absolutely summable:
Here (take real). Split the sum:
(At both terms are present; that adds only a finite value 2, so it does not affect convergence.)
Right-sided (causal) part
A geometric series converges only if :
Its sum is then .
Left-sided (anti-causal) part
Its sum is then .
Result
Both series must converge, so
Answer: the system is stable for and (if are complex: and ). Physically, the part for must decay as and the part for must decay as . Note that the system is non-causal because for .
- 2080 Chaitra · 6 marks
Define LTI system. Explain the properties of discrete time LTI system.
Answer
A linear time-invariant (LTI) system is a system that is both linear (obeys superposition: ) and time-invariant (a shift of the input only shifts the output: ). A discrete-time LTI system is completely described by its impulse response , and its output is the convolution sum
Properties of discrete-time LTI systems
- Commutative: . Input and impulse response can be interchanged.
- Associative: . Two systems in cascade are equal to one system with , and the order of the cascade does not matter.
- Distributive: . Two systems in parallel equal one system with .
- Memory: the system is memoryless only if , i.e. . Otherwise it has memory.
- Causality: causal if and only if for . Then uses only present and past inputs.
- Stability (BIBO): stable if and only if .
- Invertibility: invertible if an inverse system exists with . Example: accumulator and first difference .
- Unit step response: and .
- Eigenfunction property: complex exponentials pass through unchanged in shape: , . This is why Fourier and z-transforms are used for LTI systems.
| Property | Condition on |
|---|---|
| Memoryless | |
| Causal | |
| Stable | |
| Invertible |
Example: is causal (zero for ), has memory, and is stable since .
- 2079 Chaitra · 5 marks
Convolve the signal x[n] = {3, 1, 5} and h[n] = {1, 4, −2, 3}
Answer
The convolution sum is . Since the origin is not marked, take the first sample of each sequence at : for and for .
Length of = , running from to .
Tabular (multiplication) method
Each row is times the whole of , shifted by :
| 1 | 2 | 3 | 4 | 5 | ||
|---|---|---|---|---|---|---|
| 3 | 12 | −6 | 9 | |||
| 1 | 4 | −2 | 3 | |||
| 5 | 20 | −10 | 15 | |||
| 3 | 13 | 3 | 27 | −7 | 15 |
Check of each value
Check: . Correct.
Answer: for to (↑ at 3).
- 2078 Chaitra · 8 marks
Find and plot the convolution between x[n] = |n| for −2 ≤ n ≤ 2, 0 otherwise and y[n] = 2n for 2 ≤ n ≤ 5, 0 otherwise.
Answer
Write both sequences with their sample positions. (The second signal is called in the question; to avoid confusion it is renamed and the result is .)
The result starts at , ends at , and has samples.
Tabular method
Rows are for each :
| , | 1 | 2 | 3 | 4 | 5 | 6 | 7 | |
|---|---|---|---|---|---|---|---|---|
| , 2 | 8 | 12 | 16 | 20 | ||||
| , 1 | 4 | 6 | 8 | 10 | ||||
| , 0 | 0 | 0 | 0 | 0 | ||||
| , 1 | 4 | 6 | 8 | 10 | ||||
| , 2 | 8 | 12 | 16 | 20 | ||||
| 8 | 16 | 22 | 32 | 24 | 20 | 26 | 20 |
Example check: . Sum check: .
Answer: for , zero elsewhere.
Plot
c[n]
32 o
26 | o
24 | o |
22 o | | |
20 | | | o | o
16 o | | | | | |
8 o | | | | | | |
0 +---+---+---+---+---+---+---+--> n
0 1 2 3 4 5 6 7
- 2077 Chaitra · 6 marks
Find the convolution between the following sequences. h[n] = {2, 0, −1, 2}, x[n] = {1, 2, −1, 3}. Choose origin as per your choice.
Answer
Choose the origin at the first sample of each sequence: and for .
The output has samples, from to , with .
Tabular method
| 1 | 2 | 3 | 4 | 5 | 6 | ||
|---|---|---|---|---|---|---|---|
| 2 | 0 | −1 | 2 | ||||
| 4 | 0 | −2 | 4 | ||||
| −2 | 0 | 1 | −2 | ||||
| 6 | 0 | −3 | 6 | ||||
| 2 | 4 | −3 | 6 | 5 | −5 | 6 |
Step-by-step values
Check: .
Answer: , with (↑ at the first value).
If a different origin is chosen, the values stay the same; only the starting index changes (start index of = start of + start of ).
- 2076 Baisakh · 5 marks
Derive formula to calculate the impulse response of ideal low pass filter in discrete time.
Answer
An ideal discrete-time low pass filter passes all frequencies below a cut-off with unit gain and blocks the rest. Its frequency response over one period () is
and it repeats every .
H(e^jw)
1 +-----+
| |
----+------+-----+------+---> w
-pi -wc 0 wc pi
Derivation
The impulse response is the inverse DTFT:
At :
which is also the limit of as . So
Remarks
- is a sampled sinc: maximum at , zero crossings where is a multiple of .
- for , so the ideal LPF is non-causal.
- diverges (decays only as ), so it is not BIBO stable. Hence it cannot be built exactly; practical filters truncate/window and delay it.
- Example: for , : , , , .
- 2076 Baisakh · 6 marks
Find the convolution sum of x[n] = {1, 3, 4, 3, 1} and h[n] = {2, 2, −2}
Answer
Take the origin at the first sample of each sequence (none is marked): , and , .
Output length , for to ; .
Tabular method
| 1 | 2 | 3 | 4 | 5 | 6 | ||
|---|---|---|---|---|---|---|---|
| 2 | 2 | −2 | |||||
| 6 | 6 | −6 | |||||
| 8 | 8 | −8 | |||||
| 6 | 6 | −6 | |||||
| 2 | 2 | −2 | |||||
| 2 | 8 | 12 | 8 | 0 | −4 | −2 |
Check by formula
Sum check: .
Answer: for (↑ at 2).
- 2076 Bhadra · 4 marks
Check whether the discrete-time system described by the following input-output relation is linear or non-linear. y[n] = 2 × x[n] + 5
Answer
A system is linear if it satisfies superposition (additivity and homogeneity):
Test
Let and .
Response to the combined input :
Weighted sum of the individual outputs:
These are equal only if , not for all constants. So in general.
Quick check (zero-input test): for a linear system, zero input gives zero output. Here gives .
Numerical example: ; doubling the input, .
Answer: the system is non-linear. It is called incrementally linear: it is a linear system () plus a constant offset (5), so differences of outputs do respond linearly to differences of inputs. (It is memoryless, causal, time-invariant and stable.)
- 2076 Bhadra · 3+4 marks
Define invertibility of LTI system with suitable example if impulse response h[n] = u[n] and inverse system h′[n] = δ[n] − δ[n−1]. Prove that their convolution must be δ[n].
Answer
Invertibility
A system is invertible if distinct inputs give distinct outputs, so the input can be recovered from the output. For an LTI system with impulse response , an inverse system exists such that the cascade gives back the input:
x[n] +------+ y[n] +-------+ x[n]
---->| h[n] |------>| h'[n] |------>
+------+ +-------+
overall response h*h' = delta[n]
Example: is the accumulator, . Its inverse is the first difference, , i.e. , which recovers . By contrast or are not invertible.
Proof that
Using the shifting property of the impulse, :
Now evaluate :
| difference | |||
|---|---|---|---|
| 0 | 0 | 0 | |
| 0 | 1 | 0 | 1 |
| 1 | 1 | 0 |
So it is 1 only at :
Same result from the convolution sum: .
Hence the cascade of the accumulator and the first difference is the identity system; is the inverse of . Check in the frequency domain: .
- 2076 Bhadra · 7 marks
Find the frequency response H(e^(jω)) and impulse response h[n] for a system characterized by linear constant coefficient difference equation y[n] = 0.3y[n−1] + x[n].
Answer
Given , i.e. (system initially at rest).
Frequency response
Take the DTFT of both sides, using the time-shift property :
Magnitude and phase (using ):
| 0 | |||||
|---|---|---|---|---|---|
| 1.4286 | 1.2256 | 0.9578 | 0.8126 | 0.7692 | |
| (deg) | 0 | −15.07 | −16.70 | −9.93 | 0 |
The gain falls from at to at , so it is a low pass system.
Impulse response
Use the standard DTFT pair for . With :
Check by recursion with , : , , , which matches .
Answer: and . The system is causal and stable ().
- 2075 Bhadra · 4 marks
Derive the transfer function for discrete time low pass filter.
Answer
A simple discrete-time low pass filter is the first-order recursive filter
(the output is the input plus a fraction of the previous output, so fast changes are smoothed).
Derivation of the transfer function
Take the z-transform (zero initial conditions), :
Frequency response (put ):
Impulse response: .
Why it is low pass
- At : (maximum).
- At : (minimum).
For the gain decreases from low to high frequency. Example : gain 2 at and 0.667 at . (For the same equation is a high pass filter.) The pole is at near (i.e. near ), which boosts low frequencies.
|H|
1/(1-a) *
*
* *
* * * 1/(1+a)
---------------------------> w
0 pi
Ideal low pass filter (for reference)
The ideal LPF has for and for , which gives . It is non-causal and not realizable, so first-order (or higher-order) recursive filters like the one above are used in practice.
- 2074 Bhadra · 6 marks
For a system characterized by linear constant coefficient difference equation: y[n] = 0.3y[n−1] + x[n], find the transfer function, plot magnitude and find the impulse response of the system.
Answer
System: , initially at rest.
Transfer function
Take the z-transform:
There is a pole at (inside the unit circle) and a zero at . On the unit circle, :
Magnitude
| 0 | |||||
|---|---|---|---|---|---|
| 1.4286 | 1.2256 | 0.9578 | 0.8126 | 0.7692 |
The magnitude is even in and periodic with period :
|H(e^jw)|
1.43 | *
| * *
1.0 | * *
| * *
0.77 |* *
+--+--------+--------+---> w
-pi 0 pi
It is a low pass response: maximum at , minimum at .
Impulse response
Using () with :
Recursion check with :
Answer: , , (causal and stable).
- 2073 Bhadra · 2+3+5 marks
What is LTI system? In a LTI system show that convolution operation is commutative, find y[n] when x[n] = {1, 2, 3, 4} (↑ at 1, i.e. x[0] = 1) and h[n] = {2, 1, 2} (↑ at 1, i.e. h[0] = 1).
Answer
LTI system
An LTI system is one that is both linear (superposition holds) and time-invariant (a delay in the input gives the same delay in the output). It is completely described by its impulse response , and the output for any input is .
Commutative property
To show :
Put , so . As goes from to , also covers to :
So a system with impulse response driven by gives the same output as a system with impulse response driven by .
Computing y[n]
with (so ); with (so ).
Start index , length , so runs from to .
| 0 | 1 | 2 | 3 | 4 | ||
|---|---|---|---|---|---|---|
| 2 | 1 | 2 | ||||
| 4 | 2 | 4 | ||||
| 6 | 3 | 6 | ||||
| 8 | 4 | 8 | ||||
| 2 | 5 | 10 | 15 | 10 | 8 |
For example, . Sum check: .
Answer: for , i.e. .
Computing (each value times ) gives the same numbers, which verifies the commutative property.
- 2072 Magh · 4+5 marks
What are the properties of LTI systems? Determine whether the given system is linear or not? y[n] = e^(x[n])
Answer
Properties of LTI systems
An LTI system is linear and time-invariant; its output is . Its main properties:
- Commutative: .
- Associative: ; a cascade equals one system , in any order.
- Distributive: ; parallel systems add their impulse responses.
- Memoryless only if .
- Causal if and only if for .
- BIBO stable if and only if .
- Invertible if some satisfies .
- Step response , and .
- Eigenfunction: .
Is linear?
A system is linear if .
Let and . For :
while
These are not equal in general (one is a product, the other a sum).
Also, zero input gives , which a linear system cannot do.
Numerical check: ; .
Answer: is non-linear. (It is, however, time-invariant, memoryless, causal, and BIBO stable, since gives .)
- 2072 Magh · 8 marks
Consider a system with impulse response h[n] = {1, 2, 2, 5}. Determine the output y[n] for input x[n] = {1, 3}
Answer
Take and as the first samples (no origin is marked): , and , .
The output has samples, .
Because , the output is
Tabular method
| 1 | 2 | 3 | 4 | ||
|---|---|---|---|---|---|
| 1 | 2 | 2 | 5 | ||
| 3 | 6 | 6 | 15 | ||
| 1 | 5 | 8 | 11 | 15 |
Step values
Sum check: .
Answer: for (↑ at 1).
y[n]
15 o
11 o |
8 o | |
5 o | | |
1 o | | | |
0 +---+---+---+---+--> n
0 1 2 3 4
- 2072 Asoj · 2+6 marks
What is LTI system? Explain the commutative, associative and distributive properties of discrete time LTI systems.
Answer
LTI system
A linear time-invariant (LTI) system obeys superposition (linearity) and its behaviour does not change with time (a shifted input gives an equally shifted output). It is fully described by its impulse response , and
1. Commutative property
Proof: in put : it becomes . Meaning: the roles of input and impulse response can be swapped without changing the output.
2. Associative property
Meaning: two LTI systems in cascade are equivalent to a single system with . With the commutative property, the order of the cascade can also be changed.
x -->[h1]-->[h2]--> y
== x -->[h1*h2]--> y
== x -->[h2]-->[h1]--> y
3. Distributive property
Proof: . Meaning: two LTI systems in parallel (same input, outputs added) are equivalent to one system with .
+-->[h1]--+
x ----+ (+)--> y == x -->[h1+h2]--> y
+-->[h2]--+
Example
, :
- cascade: ;
- parallel: .
These properties let a block diagram of many LTI systems be reduced to a single equivalent .
- 2072 Asoj · 6 marks
The impulse response of a discrete time LTI system is h[n] = {1, 1, 2, −1} (↑ at the first 1, i.e. h[0] = 1). If input is x[n] = {1, 2} (↑ at 1, i.e. x[0] = 1), find the convolution sum and sketch the output y[n].
Answer
Given with (first), so , and with , so .
Since ,
Output length , for to .
Tabular method
| 1 | 2 | 3 | 4 | ||
|---|---|---|---|---|---|
| 1 | 1 | 2 | −1 | ||
| 2 | 2 | 4 | −2 | ||
| 1 | 3 | 4 | 3 | −2 |
Sum check: .
Answer: for , with .
Sketch of y[n]
y[n]
4 o
3 o | o
1 o | | |
0 +---+---+---+---+--> n
-2 o
0 1 2 3 4
- 2071 Magh · 7 marks
Perform the convolution and draw output y[n]: x[n] = {1, 2, 2, 3} (↑ at the first 2, i.e. x[0] = 2) and h[n] = {1, 4, 3} (↑ at 1, i.e. h[0] = 1).
Answer
Given with = the first 2, so . with , so .
Output starts at , ends at ; length . .
Tabular method
| , | 0 | 1 | 2 | 3 | 4 | |
|---|---|---|---|---|---|---|
| , 1 | 1 | 4 | 3 | |||
| , 2 | 2 | 8 | 6 | |||
| , 2 | 2 | 8 | 6 | |||
| , 3 | 3 | 12 | 9 | |||
| 1 | 6 | 13 | 17 | 18 | 9 |
Step values
Sum check: .
Answer: for , so .
Output plot
y[n]
18 o
17 o |
13 o | |
9 | | | o
6 o | | | |
1 o | | | | |
0 +---+---+---+---+---+--> n
-1 0 1 2 3 4
- 2071 Bhadra · 6 marks
Convolve the signals x[n] = {1, 2, 1} and h[n] = {1, 2, 3, 1} (↑ at the first 1, i.e. h[0] = 1).
Answer
Given with = first 1, so . No origin is marked for , so take = first sample: , .
Output: , from to (length ). Since , .
Tabular method
| 1 | 2 | 3 | 4 | 5 | ||
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 1 | |||
| 2 | 4 | 6 | 2 | |||
| 1 | 2 | 3 | 1 | |||
| 1 | 4 | 8 | 9 | 5 | 1 |
Sum check: .
Answer: for (↑ at the first 1). If were taken with origin at its middle sample (2), the same values would simply start at .
- 2070 Magh · 7 marks
Given a system y[n] = 0.5y[n−1] + x[n] + x[n+1]. Find out its impulse response and frequency response.
Answer
System: , i.e. (initially at rest).
Frequency response
Take the DTFT, using (so ):
Magnitude and phase: since ,
| 0 | |||
|---|---|---|---|
| 4 | 1.265 | 0 | |
| (deg) | 0 | 18.43 | — |
It is a low pass response (gain 4 at dc, zero at ).
Impulse response
Write . Using and the time-advance property ( means ):
Simplified: at , ; for , . So
Values: (checked by running the recursion with ).
Answer: , . Since the system is non-causal; it is stable because .
- 2070 Magh · 8 marks
What are the properties of LTI system? Show that the output of an LTI system is stable if the impulse response is absolutely summable.
Answer
Properties of LTI systems
For an LTI system with impulse response (output ):
- Commutative: .
- Associative: (cascade connection).
- Distributive: (parallel connection).
- Memoryless if and only if .
- Causal if and only if for .
- Stable (BIBO) if and only if .
- Invertible if an exists with .
- Step response: .
Proof: absolutely summable gives a stable system
A system is BIBO stable if every bounded input produces a bounded output.
Let the input be bounded: for all . The output is
Take the magnitude and use the triangle inequality ():
If is absolutely summable, , then
so the output is bounded and the system is stable.
Converse (necessity): if , choose the bounded input (values ). Then , so a bounded input gives an unbounded output. Hence absolute summability is necessary and sufficient for BIBO stability of an LTI system.
Examples
- : , stable.
- (accumulator): , unstable (input gives , which grows without bound).
- 2070 Bhadra · 6+2 marks
A discrete time LTI system has an impulse response as shown below: [Figure: stem plot of h[n] = 2, 1, 0.5, 0.25, 0.125 at n = 0, 1, 2, 3, 4 and 0 elsewhere (shown from n = −2 to 6)]. If the input to the given system is x[n] = {−0.25, 0.5, 1, −0.5, 0, 0.25} (↑ at 1, i.e. x[0] = 1), calculate and plot the output of the system.
Answer
From the figure, for , i.e. for . The input is with , so .
The output starts at and ends at (length ).
Tabular method
Each row is :
| , | −1 | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | |
|---|---|---|---|---|---|---|---|---|---|---|
| −2, −0.25 | −0.5 | −0.25 | −0.125 | −0.0625 | −0.03125 | |||||
| −1, 0.5 | 1 | 0.5 | 0.25 | 0.125 | 0.0625 | |||||
| 0, 1 | 2 | 1 | 0.5 | 0.25 | 0.125 | |||||
| 1, −0.5 | −1 | −0.5 | −0.25 | −0.125 | −0.0625 | |||||
| 2, 0 | 0 | 0 | 0 | 0 | 0 | |||||
| 3, 0.25 | 0.5 | 0.25 | 0.125 | 0.0625 | 0.03125 | |||||
| −0.5 | 0.75 | 2.375 | 0.1875 | 0.09375 | 0.5625 | 0.25 | 0.0625 | 0.0625 | 0.03125 |
Some values worked out
Sum check: .
Answer:
| −2 | −1 | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | |
|---|---|---|---|---|---|---|---|---|---|---|
| −0.5 | 0.75 | 2.375 | 0.1875 | 0.09375 | 0.5625 | 0.25 | 0.0625 | 0.0625 | 0.03125 |
and elsewhere.
Plot of y[n]
(Not to scale for the small values.)
y[n]
2.375 o
0.75 o |
0.5625 | | o
0.25 | | | o
0.1875 | | o | |
0.09375 | | | o | |
0.0625 | | | | | | o o
0.03125 | | | | | | | | o
0 +----+----+----+----+----+----+----+----+----+--> n
-0.5 o
-2 -1 0 1 2 3 4 5 6 7
- 2070 Bhadra · 3+4 marks
Define systems with memory and memory-less systems with examples. Explain the causality property of discrete time LTI systems.
Answer
Systems with memory and memoryless systems
A system is memoryless (static) if its output at any time depends only on the input at the same time . A system with memory (dynamic) has an output that depends on past and/or future input values (or past outputs), so it must store information.
| Memoryless | With memory |
|---|---|
| (amplifier) | (first difference) |
| (accumulator) | |
| (advance) | |
| Resistor: | Capacitor: |
For an LTI system, . This depends only on if for all . So a DT LTI system is memoryless only if
Any other (e.g. ) gives a system with memory.
Causality of discrete-time LTI systems
A system is causal if its output at time depends only on the present and past inputs (), not on future inputs. Causal systems are "non-anticipative"; all real-time physical systems are causal.
For an LTI system,
The terms with use with , i.e. future inputs. For the output not to depend on them, those terms must vanish for every input:
This is the necessary and sufficient condition. The convolution sum of a causal LTI system then becomes
Also, for a causal LTI system, initial rest holds: if for , then for .
Examples
- : zero for , so causal.
- , i.e. : , so non-causal.
- Accumulator : causal, with memory.
- Ideal low pass filter : non-zero for , so non-causal (cannot work in real time).
Note: a memoryless system is always causal, but a causal system need not be memoryless.
- 2083 Bhadra (new course) · 5 marks
Find the convolution sum for a given signal x[n] = δ[n] + 2δ[n−1] − δ[n−3] and h[n] = 2δ[n] + 2δ[n−1]
Answer
Write the sequences as sample values:
Method 1: using
Method 2: tabular check
| 1 | 2 | 3 | 4 | ||
|---|---|---|---|---|---|
| 2 | 4 | 0 | −2 | ||
| 2 | 4 | 0 | −2 | ||
| 2 | 6 | 4 | −2 | −2 |
Sum check: .
Answer: for , i.e. .
- 2083 Bhadra (new course) · 4 marks
Explain the impulse response of ideal band pass and low pass filters for discrete time signal.
Answer
Ideal filters have unit gain in the passband and zero gain in the stopband. A DT frequency response is periodic with period , so it is defined over . The impulse response is found by the inverse DTFT, .
Ideal low pass filter
Ideal band pass filter
Passband :
H(e^jw)
+--+ +--+
| | | | 1
--+--+------+-------+--+---> w
-w2 -w1 0 w1 w2
It equals an LPF with cut-off minus an LPF with cut-off :
Using , with centre and half-width :
So the band pass impulse response is a low pass sinc (cut-off ) modulated by , which shifts the passband to .
Remarks
- Both responses are sinc-shaped, non-zero for : the ideal filters are non-causal.
- They decay only as , so they are not absolutely summable: not BIBO stable, hence not realizable exactly. Practical filters truncate (window) and delay .
- 2083 Baisakh (new course) · 4 marks
Find the convolution sum of x[n] = {1, 2, 3, 4} and h[n] = {1, 2, −3}. Choose your own origin.
Answer
Choose the origin at the first sample of each sequence: , and , .
has samples, .
| 1 | 2 | 3 | 4 | 5 | ||
|---|---|---|---|---|---|---|
| 1 | 2 | −3 | ||||
| 2 | 4 | −6 | ||||
| 3 | 6 | −9 | ||||
| 4 | 8 | −12 | ||||
| 1 | 4 | 4 | 4 | −1 | −12 |
Sum check: .
Answer: for (↑ at the first 1). With another origin the values are the same, only shifted.
- 2082 Bhadra (new course) · 4 marks
Find the convolution between the signal x[n] = δ[n−2] − δ[n−1] + 2δ[n] + δ[n+1] + δ[n+2] and h[n] = u[n] − u[n−1]
Answer
First simplify :
is 1 only at (both are 1 for and both are 0 for ), so
Convolution with the unit impulse leaves a signal unchanged (, the identity property). Hence
| −2 | −1 | 0 | 1 | 2 | |
|---|---|---|---|---|---|
| 1 | 1 | 2 | −1 | 1 |
Answer: for (↑ at 2), and zero elsewhere.
Questions from Old Question Collection (Signal Analysis EX 651) (IOE Signal Analysis (EX 651) exam papers from 2069 to 2082) and 2080 course paper (ENEX 255) (IOE Signals and Systems (ENEX 255, new course) papers: 2082 Bhadra, 2083 Baisakh, 2083 Bhadra). Answers are written for this site; check them against your class notes.
Chapter titles and hours from the IOE syllabus ↗