Digital Signal Processing I/ 4th Class/ 2020-2021 Dr. Abbas Hussien & Dr. Ammar Ghalib
Digital Signal Processing I/ 4th Class/ 2020-2021 Dr. Abbas Hussien & Dr. Ammar Ghalib
Digital Signal Processing I/ 4th Class/ 2020-2021 Dr. Abbas Hussien & Dr. Ammar Ghalib
Ammar Ghalib
b. Let the input and output be x1(n) and y1(n), respectively; then the system output is y1(n)
=2x1(3n). Again, let the input and output be x2(n) and y2(n), where x2(n) = x1(n − n0), a
shifted version, and the corresponding output is y2(n). We get the output due to the shifted
input x2(n) = x1(n − n0) and note that x2(3n) = x1(3n − n0):
y2(n) = 2x2(3n) = 2x1(3n − n0):
On the other hand, if we shift y1(n) by n0 samples, which replaces n in
y1(n) = 2x1(3n) by n − n0, it yield
y1(n − n0) = 2x1(3(n − n0)) = 2x1(3n − 3n0):
Clearly, we know that y2(n) ≠ y1(n − n0). Since the system output y2(n) using the input
shifted by n0 samples is not equal to the system output y1(n) shifted by the same n0 samples,
thus, the system is not time-invariant (time-varying system).
23
Digital Signal Processing I/ 4th Class/ 2020-2021 Dr. Abbas Hussien & Dr. Ammar Ghalib
c. Let the input and output be x1(n) and y1(n), respectively; then the output is y1(n) =n x1(n).
Again, let the input and output be x2(n) and y2(n), where x2(n) = x1(n − n0), a shifted version,
and the corresponding output is y2(n). We get the output due to the shifted input x2(n) = x1(n
− n0) and note that x2(n) = n x1(n − n0):
y2(n) = n x2(n) = n x1(n − n0):
On the other hand, if we shift y1(n) by n0 samples, which replaces n in
y1(n) = n x1(n) by n − n0, it yield
y1(n − n0) = (n-n0) x1(n − n0):
Clearly, we know that y2(n) ≠ y1(n − n0). Since the system output y2(n) using the input
shifted by n0 samples is not equal to the system output y1(n) shifted by the same n0 samples,
thus, the system is not time-invariant (time-varying system).
Note: Linear Time Invariant System (LTI) is the system that satisfies both the linearity and the
time-invariance properties. Such systems are mathematically easy to analyze, and easy to
design.
b. Since for n ≥ 0, the output y(n) depends on the input’s future value x(n+1), the system is
noncausal.
c. Since for n ≥ 0, the output y(n) depends on the input’s future values x(n+1) and x(n+2),
the system is noncausal.
24
Digital Signal Processing I/ 4th Class/ 2020-2021 Dr. Abbas Hussien & Dr. Ammar Ghalib
For all n, If for some bounded input sequence x(n), the output y(n)is unbounded (infinite), the
system is classified as unstable.
Note: The system is stable, if its transfer function vanishes after a sufficiently long time. For a
stable system:
a. If |x[n]| ≤ Bx < ∞ for all n, then |y[n]| ≤ By= B x2 < ∞ for all n. Thus, the system is stable.
0 n 0
b. If x[n] u[n] : bounded
1 n 0
n n 0 n0
Then y[n] x[k ] u[k ] n 1 n0
: not bounded
k k
Thus, the accumulator system is unstable.
c. If |x[n]| ≤ Bx < ∞ for all n, then |y[n]| ≤ By= e B x < ∞ for all n. i.e., it is guaranteed that if the
input is bounded by a positive number Bx, the output is bounded by a positive number e B x .
Thus, the system is stable.
n 0 n0
Note: u[k ] n 1 n0
k
25
Digital Signal Processing I/ 4th Class/ 2020-2021 Dr. Abbas Hussien & Dr. Ammar Ghalib
Note: The unit step function u[n] is the running sum of the unit impulse δ[n], so the step
response S[n] of a LTI processor is the running sum of its impulse response. Therefore, if we
denote the step response by S[n], we have
n
S[n] y[n] x[ n] u[ n] h[m ]
m
26