SlideShare a Scribd company logo
1 of 27
Download to read offline
Chapter One
Discrete-Time Signals and Systems
Lecture #3
Rediet Million
AAiT, School Of Electrical and Computer Engineering
rediet.million@aait.edu.et
March, 2018
(Rediet Million) DSP-Lecture #3 March, 2018 1 / 27
1.2.Discrete-Time Signals and Systems
1.2.2. Discrete-Time Systems
A discrete-time system is defined mathematically as a transformation
(processor or algorithm) that transforms an input sequence x(n) into
an output sequence y(n) according to some input/output rule.
y(n) = T{x(n)}
Discrete-time system examples:
An ideal delay: y(n) = x(n − nd ) , nd is the delay of the system.
Compressor (down-sampler): y(n) = x(Mn)
A rate expander(up-sampler): y(n) = x( n
M )
Modulator:y(n) = x(n)cos(nωo)
(Rediet Million) DSP-Lecture #3 March, 2018 2 / 27
Discrete-Time Systems...
An accumulator system is defied as
y[n] =
n−1
k=−∞
x[k] + x(n) i.e y(n) = y(n − 1) + x(n)
A moving average system is defied by
y[n] = 1
M1+M2+1
M2
k=M1
x(n − k)
- This system computes the nth sample of the output sequence as the
average of 1
M1+M2+1 samples of the input sequence around the nth sample.
(Rediet Million) DSP-Lecture #3 March, 2018 3 / 27
Discrete-Time Systems...
Moving average smoothes out rapid variations e.g
x(n)= s(n)signal +d(n)noise
using 5 point moving average
y[n] = 1
5
4
k=0
x(n − k)
(Rediet Million) DSP-Lecture #3 March, 2018 4 / 27
Discrete-Time Systems...
Classification of DT Systems
1.Linear system
A system is linear if it satisfies superposition principle.
Additive property:
T{x1(n) + x2(n)} = T{x1(n)} + T{x2(n)} = y1(n) + y2(n)
Homogeneity or scaling property:
T{ax(n)} = aT{x(n)} = ay(n) where a is arbitrary constant.
These two properties are combined into the principle of
superposition:
T{ax1(n) + bx2(n)} = aT{x1(n)} + bT{x2(n)} = ay1(n) + by2(n)
(Rediet Million) DSP-Lecture #3 March, 2018 5 / 27
Discrete-Time Systems...
Classification of DT Systems...
Example-1
- Accumulator:
y[n] =
n
k=−∞
x[k]
x(n) = a · x1(n) + b · x2(n)
y[n] =
n
k=−∞
[a · x1(k) + b · x2(k)]
=
n
k=−∞
[a · x1(k)] +
n
k=−∞
[b · x2(k)]
= a ·
n
k=−∞
[x1(k)] + b ·
n
k=−∞
[x2(k)]
= a · y1(n) + b · y2(n)
Thus,the system is linear.
Example-2
- Offset accumulator:
y[n] = C +
n
k=−∞
x[k]
y[n] = C +
n
k=−∞
[a · x1(k) + b · x2(k)]
= C+a·
n
k=−∞
[x1(k)]+b·
n
k=−∞
[x2(k)]
= a · y1(n) + b · y2(n)
Thus,the system is non-linear
unless C=0.
(Rediet Million) DSP-Lecture #3 March, 2018 6 / 27
Discrete-Time Systems...
Classification of DT Systems...
2.Time(shift)-invariant system
Time shift or delay of the input sequence causes a corresponding shift
in the output sequence.
if x(n) −→ y(n) implies that
x(n − no) −→ y(n − no)
Example :
Take the system y(n) = n · x(n)
If x(n) = x1(n − no) then
y(n) = n · x1(n − no)
=
y(n − no) = (n − no) · x1(n − no)
⇒ Hence, the system is not shift invariant system.
(Rediet Million) DSP-Lecture #3 March, 2018 7 / 27
Discrete-time systems...
Classification of DT Systems...
3.Causal system
A system is causal if the output value at n = no depends only on the
input sequence values for n ≤ no.
In other words, the output of the system at any time depends only on
present and past values of the input x(n)
i.e[x(n), x(n − 1), x(n − 2), ..x(n − no)]
but does not depends on future inputs
i.e[x(n + 1), x(n + 2), ..x(n + no)] → non-causal system.
Example :
-Forward difference system,y(n) = x(n − 1) − x(n), is causal system.
-Backward difference system,y(n) = x(n + 1) − x(n), is non-causal
system.
(Rediet Million) DSP-Lecture #3 March, 2018 8 / 27
Discrete-Time Systems...
Classification of DT Systems...
4.Stable system
A system is said to be stable in the Bounded Input-Bounded Output
sense if, for any input that is bounded,|x(n)| ≤ A < ∞ , the output
will be bounded,|y(n)| ≤ B < ∞.
If for some bounded input x(n) the output is unbounded (infinite)
,then the system is classified as unbounded.
Example : Consider the accumulator system y[n] =
n
k=−∞
x[k]
When x(n) = u(n) ,which is clearly bounded by A = 1. For this
input,the output of the accumulator is
y[n] =
n
k=−∞
u[k] =
(n + 1) , n ≥ 0
0 , n < 0
There is no finite choice for B such that ,(n − 1) ≤ B < ∞ for all n.
⇒ Thus,the system is unstable.
(Rediet Million) DSP-Lecture #3 March, 2018 9 / 27
Discrete-Time Systems| Classification of DT Systems
(#2) Class exercises & Assignment
1) For each of the following systems,determine whether the system is
linear system and shift invariant system .
a.y(n) = x(n)sin(2πn
7 + π
6 )
b.y(n) = log [x(n)]
c.y(n) = 2x(n) + 3
d.y(n) = [x(n)]2
e.y(n) = ex(n)
2) For each of the following systems,determine whether the system is
stable and causal system .
a.y(n) = [x(n + 1)]2
b.y(n) = ex(n)
x(n−1)
c.y(n) = cos[x(n + 2)]
(Rediet Million) DSP-Lecture #3 March, 2018 10 / 27
1.3.LTI System and Discrete-Time Fourier Transform
1.3.1 Linear Time-Invariant (LTI) Systems
This is a particularly important class of systems that combines the
properties of linearity and time-invariance.
Important due to convenient representations and significant
applications.
A linear time-invariant system is completely characterized by its
impulse response h(n).
Given a system :
If x(n) = δ(n) then y(n) ≡ h(n) → impulse response
(Rediet Million) DSP-Lecture #3 March, 2018 11 / 27
Linear Time-Invariant (LTI) Systems...
For example take a simple system:
Using signal decomposition we know that we can express any sequence
by unit sample (impulse) δ(n) as :
x(n) =
∞
k=−∞
x(k)δ(n − k)
(Rediet Million) DSP-Lecture #3 March, 2018 12 / 27
Linear Time-Invariant (LTI) Systems...
When we apply the above sequence x(n) as an input to LTI system
- Due to linearity :
y(n) = T[x(n)] = T[
∞
k=−∞
x(k)δ(n − k)]
y(n) = T[x(n)] =
∞
k=−∞
x(k)T[δ(n − k)]
- Due to Time(shift) invariance :
T[δ(n)] = h(n) ⇒ T[δ(n − k)] = h(n − k)
-Therefore,
y(n) = T[x(n)] =
∞
k=−∞
x(k)h(n − k) ≡ x(n) ∗ h(n)
=
∞
k=−∞
h(k)x(n − k).... show the proof !
This expression is called convolution sum.
(Rediet Million) DSP-Lecture #3 March, 2018 13 / 27
Linear Time-Invariant (LTI) Systems...
Steps involved to perform the convolution sum
y(n) = x(n) ∗ h(n) =
∞
k=−∞
x(k)h(n − k)
1 Consider x(k) and h(k) as a function of k.
2 Obtain the sequence h(n − k)
Reflect h(k) about the origin to get h(−k).
Shift the reflected sequence by n(to the right if n > 0 and to the
left if n < 0).
3 Multiply the two sequence x(k) & h(n − k) and sum the product for
all values of K.
(Rediet Million) DSP-Lecture #3 March, 2018 14 / 27
Linear Time-Invariant (LTI) Systems...
Examples
1. Analytically convolution of two signals:
x(n) = anu(n) =
an , n ≥ 0
0 , n < 0
and h(n) = u(n)
Using direct evaluation of the convolution sum we find
y(n) = x(n) ∗ h(n) =
∞
k=−∞
x(k)h(n − k) =
∞
k=−∞
aku(k)u(n − k)
From the definition of unit step u(k) = 0 for k < 0 and u(n − k) = 0 for
k > n.Thus,
y(n) =
n
k=0
ak =
1 − an+1
1 − a
= (
1 − an+1
1 − a
)u(n)
Some useful formulas:
∞
n=0
an =
1
1 − a
for |a| < 1
N−1
n=0
an =
1 − aN
1 − a
N−1
n=0
n =
1
2
N(N − 1)
∞
n=0
nan =
a
(1 − a)2
for |a| < 1
(Rediet Million) DSP-Lecture #3 March, 2018 15 / 27
Linear Time-Invariant (LTI) Systems...
Examples
2.Graphical convolution of two signals:
(Rediet Million) DSP-Lecture #3 March, 2018 16 / 27
Linear Time-Invariant (LTI) Systems...
Examples
(Rediet Million) DSP-Lecture #3 March, 2018 17 / 27
Linear Time-Invariant (LTI) Systems...
Properties of LTI-systems
LTI systems are completely characterized by the impulse response
function,h(n). Therefore, we can determine causality and stability
from h(n):
Causality: h(n) = 0 for n < 0.
Stability:
∞
n=−∞
|h(n)| < ∞.
For the convolution operator,y(n) = x(n) ∗ h(n),there are several
properties of interest :
Commutative: x(n) ∗ h(n) = h(n) ∗ x(n)
Associative: [x(n) ∗ h1(n)] ∗ h2(n) = x(n) ∗ [h1(n) ∗ h2(n)]
Distributive: x(n) ∗ [h1(n) + h2(n)] = x(n) ∗ h1(n) + x(n) ∗ h2(n)
Discrete-time convolution will be discussed detail in chapter three.
(Rediet Million) DSP-Lecture #3 March, 2018 18 / 27
Linear Time-Invariant (LTI) Systems...
(#3) Class exercises & Assignment
For each of the following pairs of sequences,x(n), represents the input to
an LTI system with impulse response h(n).Determine each output y(n)
using discrete time convolution.
a.
b. h(n) =
1 , 0 ≤ n ≤ (N − 1)
0 , otherwise
x(n) = anu(n)
a.
b. h(n) =
αn , 0 ≤ n ≤ 10
0 , otherwise
x(n) =
1 , 0 ≤ n ≤ 5
0 , otherwise
(Rediet Million) DSP-Lecture #3 March, 2018 19 / 27
1.3.2 Linear Constant Coefficient Difference Equation
From a computational point of view sometimes convolution sum
representation is not very efficient.
For example,take a system that has a unit sample response
h(n) = αnu(n):
Using convolution sum we can express y(n) as :
y(n) =
∞
k=0
αnx(n − k)
But we can express the output more efficiently in terms of past
values of the output in addition to the current and past values of the
input .
y(n) = αy(n − 1) + x(n)
- This equation is a special case of what is known as a linear constant
coefficient difference equation (LCCDE).
(Rediet Million) DSP-Lecture #3 March, 2018 20 / 27
Linear Constant Coefficient Difference Equation...
The general form of LCCDE is :
y(n) =
M
k=0
b(k)x(n − k) −
N
k=1
a(k)y(n − k)
- Where the coefficients a(k) and b(k) are constants that define the
system.
- If a(k) = 0 → recursive difference equation.
- If a(k) = 0 → non-recursive difference equation.
Before solving LCCDE,it is necessary to specify a set of an initial
conditions.
For LTI system that is described by a difference equation, the unit
sample response,h(n), is found by solving the difference equation for
x(n) = δ(n) assuming initial condition is zero.
(Rediet Million) DSP-Lecture #3 March, 2018 21 / 27
Linear Constant Coefficient Difference Equation...
For a non-recursive system ,a(k) = 0, the difference equation becomes
y(n) =
M
k=0
b(k)x(n − k) ⇒ h(n) =
N
k=0
b(k)δ(n − k)
Thus, h(n) is finite in length and the system is referred to as a
finite impulse response(FIR) system.
However, if a(k) = 0, the unit sample response h(n) is infinite in
length and the system is referred to as an infinite impulse response
(IIR)system.
There are several difference methods that one may use to solve
LCCDEs for a general input x(n).
Homogeneous and particular solution approach.
Z-transform approach→ will discussed in chapter 4.
(Rediet Million) DSP-Lecture #3 March, 2018 22 / 27
Linear Constant Coefficient Difference Equation...
Homogeneous and Particular Solutions
Given an LCCDE, the general solution is a sum of two parts:
y(n) = yh(n) + yp(n)
- yh(n) is known as the homogeneous solution and yp(n) is the
particular solution.
Homogeneous solutions (zero input response):
The homogeneous solution is the response of the the system to the
initial conditions, assuming that the input x(n) = 0.
The solution is found by solving the difference equation as :
N
k=0
a(k)y(n − k) = 0
when a0 = 1
y(n) +
N
k=1
a(k)y(n − k) = 0
(Rediet Million) DSP-Lecture #3 March, 2018 23 / 27
Linear Constant Coefficient Difference Equation...
Homogeneous and Particular Solutions...
The general method of solution to the homogeneous equation is to
assume a homogeneous solution, y(n), as
yh(n) = λn
If the assumed solution is a solution, then it has to satisfy the equation:
N
k=0
akλn−k
= 0
assuming a0 = 1
λn + a1λn−1 + a2λn−2 + .....aNλn−N = 0
λn−N[λN + a1λN−1 + a2λN−2 + .....aN] = 0
The polynomial in braces is called the characteristics polynomial.
Because it is of degree N, it may have N roots (distinct or repeated),
which may be either real or complex.
(Rediet Million) DSP-Lecture #3 March, 2018 24 / 27
Linear Constant Coefficient Difference Equation...
Homogeneous and Particular Solutions...
Distinct roots: The form of the most general solution will be a linear
combination of those of each characteristics equations as
yh(n) = c1λn
1 + c2λn
2 + c3λn
3 + ...cNλn
N
- ci is determined from the initial conditions.
Repeated roots: If some of the roots of the characteristics equations
are repeated then the form of the solution will be modified as
yh(n) = c11λn
1 + c12nλn
1 + c13n2
λn
1 + ... + c1mnm−1
λn
1 + c2λn
2 + ...cNλn
N
(Rediet Million) DSP-Lecture #3 March, 2018 25 / 27
Linear Constant Coefficient Difference Equation...
Homogeneous and Particular Solutions
Particular solutions (zero state response):
It is the solution response to the applied input signal.
To determine the particular solution yp(n) is to assume that the
response will have the same form as the input itself within a multiplier
constant.
(Rediet Million) DSP-Lecture #3 March, 2018 26 / 27
Linear Constant Coefficient Difference Equation...
(#4 ) Class exercises & Assignment
1) Determine the total response,y(n),of the following causal systems
when the forcing function is x(n). Assume initial conditions are zero.
a.y(n) =
5
6
y(n − 1) −
1
6
y(n − 2) + x(n) , x(n) = 2nu(n)
b.y(n) − 3y(n − 1) − 4y(n − 2) = x(n) + 2x(n − 1) , x(n) = δ(n)
2) Determine the impulse response and the unit step response of the
system described by the following difference equations for n ≥ 0.
a.y(n) = 0.7y(n − 1) − 0.1y(n − 2) + 2x(n) − x(n − 2)
b.y(n) = 0.6y(n − 1) − 0.08y(n − 2) + x(n)
(Rediet Million) DSP-Lecture #3 March, 2018 27 / 27

More Related Content

What's hot

Decimation in time and frequency
Decimation in time and frequencyDecimation in time and frequency
Decimation in time and frequencySARITHA REDDY
 
Application of fourier series
Application of fourier seriesApplication of fourier series
Application of fourier seriesGirish Dhareshwar
 
Fast Fourier Transform
Fast Fourier TransformFast Fourier Transform
Fast Fourier Transformop205
 
Ec8352 signals and systems 2 marks with answers
Ec8352 signals and systems   2 marks with answersEc8352 signals and systems   2 marks with answers
Ec8352 signals and systems 2 marks with answersGayathri Krishnamoorthy
 
Digital Signal Processing-Digital Filters
Digital Signal Processing-Digital FiltersDigital Signal Processing-Digital Filters
Digital Signal Processing-Digital FiltersNelson Anand
 
Signal Processing Introduction using Fourier Transforms
Signal Processing Introduction using Fourier TransformsSignal Processing Introduction using Fourier Transforms
Signal Processing Introduction using Fourier TransformsArvind Devaraj
 
DSP_2018_FOEHU - Lec 03 - Discrete-Time Signals and Systems
DSP_2018_FOEHU - Lec 03 - Discrete-Time Signals and SystemsDSP_2018_FOEHU - Lec 03 - Discrete-Time Signals and Systems
DSP_2018_FOEHU - Lec 03 - Discrete-Time Signals and SystemsAmr E. Mohamed
 
Signal & systems
Signal & systemsSignal & systems
Signal & systemsAJAL A J
 
5. convolution and correlation of discrete time signals
5. convolution and correlation of discrete time signals 5. convolution and correlation of discrete time signals
5. convolution and correlation of discrete time signals MdFazleRabbi18
 
DSP_2018_FOEHU - Lec 08 - The Discrete Fourier Transform
DSP_2018_FOEHU - Lec 08 - The Discrete Fourier TransformDSP_2018_FOEHU - Lec 08 - The Discrete Fourier Transform
DSP_2018_FOEHU - Lec 08 - The Discrete Fourier TransformAmr E. Mohamed
 
Classification of signals
Classification of signalsClassification of signals
Classification of signalschitra raju
 
DSP_FOEHU - MATLAB 01 - Discrete Time Signals and Systems
DSP_FOEHU - MATLAB 01 - Discrete Time Signals and SystemsDSP_FOEHU - MATLAB 01 - Discrete Time Signals and Systems
DSP_FOEHU - MATLAB 01 - Discrete Time Signals and SystemsAmr E. Mohamed
 
Dsp 2018 foehu - lec 10 - multi-rate digital signal processing
Dsp 2018 foehu - lec 10 - multi-rate digital signal processingDsp 2018 foehu - lec 10 - multi-rate digital signal processing
Dsp 2018 foehu - lec 10 - multi-rate digital signal processingAmr E. Mohamed
 

What's hot (20)

Decimation in time and frequency
Decimation in time and frequencyDecimation in time and frequency
Decimation in time and frequency
 
Application of fourier series
Application of fourier seriesApplication of fourier series
Application of fourier series
 
Fast Fourier Transform
Fast Fourier TransformFast Fourier Transform
Fast Fourier Transform
 
Ec8352 signals and systems 2 marks with answers
Ec8352 signals and systems   2 marks with answersEc8352 signals and systems   2 marks with answers
Ec8352 signals and systems 2 marks with answers
 
Signals & systems
Signals & systems Signals & systems
Signals & systems
 
Sns slide 1 2011
Sns slide 1 2011Sns slide 1 2011
Sns slide 1 2011
 
Digital Signal Processing-Digital Filters
Digital Signal Processing-Digital FiltersDigital Signal Processing-Digital Filters
Digital Signal Processing-Digital Filters
 
Dif fft
Dif fftDif fft
Dif fft
 
Signal Processing Introduction using Fourier Transforms
Signal Processing Introduction using Fourier TransformsSignal Processing Introduction using Fourier Transforms
Signal Processing Introduction using Fourier Transforms
 
Properties of Fourier transform
Properties of Fourier transformProperties of Fourier transform
Properties of Fourier transform
 
DSP_2018_FOEHU - Lec 03 - Discrete-Time Signals and Systems
DSP_2018_FOEHU - Lec 03 - Discrete-Time Signals and SystemsDSP_2018_FOEHU - Lec 03 - Discrete-Time Signals and Systems
DSP_2018_FOEHU - Lec 03 - Discrete-Time Signals and Systems
 
Fft ppt
Fft pptFft ppt
Fft ppt
 
Radix-2 DIT FFT
Radix-2 DIT FFT Radix-2 DIT FFT
Radix-2 DIT FFT
 
Signal & systems
Signal & systemsSignal & systems
Signal & systems
 
5. convolution and correlation of discrete time signals
5. convolution and correlation of discrete time signals 5. convolution and correlation of discrete time signals
5. convolution and correlation of discrete time signals
 
DSP_2018_FOEHU - Lec 08 - The Discrete Fourier Transform
DSP_2018_FOEHU - Lec 08 - The Discrete Fourier TransformDSP_2018_FOEHU - Lec 08 - The Discrete Fourier Transform
DSP_2018_FOEHU - Lec 08 - The Discrete Fourier Transform
 
Classification of signals
Classification of signalsClassification of signals
Classification of signals
 
DSP_FOEHU - MATLAB 01 - Discrete Time Signals and Systems
DSP_FOEHU - MATLAB 01 - Discrete Time Signals and SystemsDSP_FOEHU - MATLAB 01 - Discrete Time Signals and Systems
DSP_FOEHU - MATLAB 01 - Discrete Time Signals and Systems
 
Z Transform
Z TransformZ Transform
Z Transform
 
Dsp 2018 foehu - lec 10 - multi-rate digital signal processing
Dsp 2018 foehu - lec 10 - multi-rate digital signal processingDsp 2018 foehu - lec 10 - multi-rate digital signal processing
Dsp 2018 foehu - lec 10 - multi-rate digital signal processing
 

Similar to Discrete Signals and Systems Lecture

DIGITAL SIGNAL PROCESSING.pptx
DIGITAL SIGNAL PROCESSING.pptxDIGITAL SIGNAL PROCESSING.pptx
DIGITAL SIGNAL PROCESSING.pptxnishantsourav
 
Unit 2 signal &amp;system
Unit 2 signal &amp;systemUnit 2 signal &amp;system
Unit 2 signal &amp;systemsushant7dare
 
MVPA with SpaceNet: sparse structured priors
MVPA with SpaceNet: sparse structured priorsMVPA with SpaceNet: sparse structured priors
MVPA with SpaceNet: sparse structured priorsElvis DOHMATOB
 
5 DimensionalityReduction.pdf
5 DimensionalityReduction.pdf5 DimensionalityReduction.pdf
5 DimensionalityReduction.pdfRahul926331
 
Sampled-Data Piecewise Affine Slab Systems: A Time-Delay Approach
Sampled-Data Piecewise Affine Slab Systems: A Time-Delay ApproachSampled-Data Piecewise Affine Slab Systems: A Time-Delay Approach
Sampled-Data Piecewise Affine Slab Systems: A Time-Delay ApproachBehzad Samadi
 
Z transform
Z transformZ transform
Z transformnirav34
 
Lecture 3 (ADSP).pptx
Lecture 3 (ADSP).pptxLecture 3 (ADSP).pptx
Lecture 3 (ADSP).pptxHarisMasood20
 
Pydata Katya Vasilaky
Pydata Katya VasilakyPydata Katya Vasilaky
Pydata Katya Vasilakyknv4
 
5_2019_02_01!09_42_56_PM.pptx
5_2019_02_01!09_42_56_PM.pptx5_2019_02_01!09_42_56_PM.pptx
5_2019_02_01!09_42_56_PM.pptxShalabhMishra10
 

Similar to Discrete Signals and Systems Lecture (20)

Lecture 4: Classification of system
Lecture 4: Classification of system Lecture 4: Classification of system
Lecture 4: Classification of system
 
lecture4signals-181130200508.pptx
lecture4signals-181130200508.pptxlecture4signals-181130200508.pptx
lecture4signals-181130200508.pptx
 
adspchap1.pdf
adspchap1.pdfadspchap1.pdf
adspchap1.pdf
 
df_lesson_01.ppt
df_lesson_01.pptdf_lesson_01.ppt
df_lesson_01.ppt
 
Chapter-3.pptx
Chapter-3.pptxChapter-3.pptx
Chapter-3.pptx
 
DIGITAL SIGNAL PROCESSING.pptx
DIGITAL SIGNAL PROCESSING.pptxDIGITAL SIGNAL PROCESSING.pptx
DIGITAL SIGNAL PROCESSING.pptx
 
Unit 2 signal &amp;system
Unit 2 signal &amp;systemUnit 2 signal &amp;system
Unit 2 signal &amp;system
 
MVPA with SpaceNet: sparse structured priors
MVPA with SpaceNet: sparse structured priorsMVPA with SpaceNet: sparse structured priors
MVPA with SpaceNet: sparse structured priors
 
Cdc18 dg lee
Cdc18 dg leeCdc18 dg lee
Cdc18 dg lee
 
residue
residueresidue
residue
 
5 DimensionalityReduction.pdf
5 DimensionalityReduction.pdf5 DimensionalityReduction.pdf
5 DimensionalityReduction.pdf
 
Sampled-Data Piecewise Affine Slab Systems: A Time-Delay Approach
Sampled-Data Piecewise Affine Slab Systems: A Time-Delay ApproachSampled-Data Piecewise Affine Slab Systems: A Time-Delay Approach
Sampled-Data Piecewise Affine Slab Systems: A Time-Delay Approach
 
KAUST_talk_short.pdf
KAUST_talk_short.pdfKAUST_talk_short.pdf
KAUST_talk_short.pdf
 
Section9 stochastic
Section9 stochasticSection9 stochastic
Section9 stochastic
 
Z transform
Z transformZ transform
Z transform
 
Lecture 3 (ADSP).pptx
Lecture 3 (ADSP).pptxLecture 3 (ADSP).pptx
Lecture 3 (ADSP).pptx
 
3.pdf
3.pdf3.pdf
3.pdf
 
Pydata Katya Vasilaky
Pydata Katya VasilakyPydata Katya Vasilaky
Pydata Katya Vasilaky
 
DSP Lec 1.ppt
DSP Lec 1.pptDSP Lec 1.ppt
DSP Lec 1.ppt
 
5_2019_02_01!09_42_56_PM.pptx
5_2019_02_01!09_42_56_PM.pptx5_2019_02_01!09_42_56_PM.pptx
5_2019_02_01!09_42_56_PM.pptx
 

More from Rediet Moges

Digital Signal Processing[ECEG-3171]-Ch1_L07
Digital Signal Processing[ECEG-3171]-Ch1_L07Digital Signal Processing[ECEG-3171]-Ch1_L07
Digital Signal Processing[ECEG-3171]-Ch1_L07Rediet Moges
 
Digital Signal Processing[ECEG-3171]-Ch1_L05
Digital Signal Processing[ECEG-3171]-Ch1_L05Digital Signal Processing[ECEG-3171]-Ch1_L05
Digital Signal Processing[ECEG-3171]-Ch1_L05Rediet Moges
 
Digital Signal Processing[ECEG-3171]-Ch1_L04
Digital Signal Processing[ECEG-3171]-Ch1_L04Digital Signal Processing[ECEG-3171]-Ch1_L04
Digital Signal Processing[ECEG-3171]-Ch1_L04Rediet Moges
 
Digital Signal Processing[ECEG-3171]-Ch1_L01
Digital Signal Processing[ECEG-3171]-Ch1_L01Digital Signal Processing[ECEG-3171]-Ch1_L01
Digital Signal Processing[ECEG-3171]-Ch1_L01Rediet Moges
 
Digital Signal Processing[ECEG-3171]-L00
Digital Signal Processing[ECEG-3171]-L00Digital Signal Processing[ECEG-3171]-L00
Digital Signal Processing[ECEG-3171]-L00Rediet Moges
 

More from Rediet Moges (13)

Ch3 ex1
Ch3 ex1Ch3 ex1
Ch3 ex1
 
Ch2 ex2
Ch2 ex2Ch2 ex2
Ch2 ex2
 
Ch2 ex1
Ch2 ex1Ch2 ex1
Ch2 ex1
 
Ch1 ex5
Ch1 ex5Ch1 ex5
Ch1 ex5
 
Ch1 ex4
Ch1 ex4Ch1 ex4
Ch1 ex4
 
Ch1 ex3
Ch1 ex3Ch1 ex3
Ch1 ex3
 
Ch1 ex2
Ch1 ex2Ch1 ex2
Ch1 ex2
 
Ch1 ex1
Ch1 ex1Ch1 ex1
Ch1 ex1
 
Digital Signal Processing[ECEG-3171]-Ch1_L07
Digital Signal Processing[ECEG-3171]-Ch1_L07Digital Signal Processing[ECEG-3171]-Ch1_L07
Digital Signal Processing[ECEG-3171]-Ch1_L07
 
Digital Signal Processing[ECEG-3171]-Ch1_L05
Digital Signal Processing[ECEG-3171]-Ch1_L05Digital Signal Processing[ECEG-3171]-Ch1_L05
Digital Signal Processing[ECEG-3171]-Ch1_L05
 
Digital Signal Processing[ECEG-3171]-Ch1_L04
Digital Signal Processing[ECEG-3171]-Ch1_L04Digital Signal Processing[ECEG-3171]-Ch1_L04
Digital Signal Processing[ECEG-3171]-Ch1_L04
 
Digital Signal Processing[ECEG-3171]-Ch1_L01
Digital Signal Processing[ECEG-3171]-Ch1_L01Digital Signal Processing[ECEG-3171]-Ch1_L01
Digital Signal Processing[ECEG-3171]-Ch1_L01
 
Digital Signal Processing[ECEG-3171]-L00
Digital Signal Processing[ECEG-3171]-L00Digital Signal Processing[ECEG-3171]-L00
Digital Signal Processing[ECEG-3171]-L00
 

Recently uploaded

Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile servicerehmti665
 
microprocessor 8085 and its interfacing
microprocessor 8085  and its interfacingmicroprocessor 8085  and its interfacing
microprocessor 8085 and its interfacingjaychoudhary37
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSKurinjimalarL3
 
chaitra-1.pptx fake news detection using machine learning
chaitra-1.pptx  fake news detection using machine learningchaitra-1.pptx  fake news detection using machine learning
chaitra-1.pptx fake news detection using machine learningmisbanausheenparvam
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxpurnimasatapathy1234
 
Artificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxArtificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxbritheesh05
 
HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2RajaP95
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Dr.Costas Sachpazis
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130Suhani Kapoor
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort serviceGurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort servicejennyeacort
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )Tsuyoshi Horigome
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024Mark Billinghurst
 
power system scada applications and uses
power system scada applications and usespower system scada applications and uses
power system scada applications and usesDevarapalliHaritha
 
Call Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call GirlsCall Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call Girlsssuser7cb4ff
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝soniya singh
 
Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...VICTOR MAESTRE RAMIREZ
 
Introduction to Microprocesso programming and interfacing.pptx
Introduction to Microprocesso programming and interfacing.pptxIntroduction to Microprocesso programming and interfacing.pptx
Introduction to Microprocesso programming and interfacing.pptxvipinkmenon1
 

Recently uploaded (20)

Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile service
 
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
 
microprocessor 8085 and its interfacing
microprocessor 8085  and its interfacingmicroprocessor 8085  and its interfacing
microprocessor 8085 and its interfacing
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
 
chaitra-1.pptx fake news detection using machine learning
chaitra-1.pptx  fake news detection using machine learningchaitra-1.pptx  fake news detection using machine learning
chaitra-1.pptx fake news detection using machine learning
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptx
 
Artificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxArtificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptx
 
HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
 
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort serviceGurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024
 
power system scada applications and uses
power system scada applications and usespower system scada applications and uses
power system scada applications and uses
 
Call Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call GirlsCall Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call Girls
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
 
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Serviceyoung call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
 
Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...
 
Introduction to Microprocesso programming and interfacing.pptx
Introduction to Microprocesso programming and interfacing.pptxIntroduction to Microprocesso programming and interfacing.pptx
Introduction to Microprocesso programming and interfacing.pptx
 

Discrete Signals and Systems Lecture

  • 1. Chapter One Discrete-Time Signals and Systems Lecture #3 Rediet Million AAiT, School Of Electrical and Computer Engineering rediet.million@aait.edu.et March, 2018 (Rediet Million) DSP-Lecture #3 March, 2018 1 / 27
  • 2. 1.2.Discrete-Time Signals and Systems 1.2.2. Discrete-Time Systems A discrete-time system is defined mathematically as a transformation (processor or algorithm) that transforms an input sequence x(n) into an output sequence y(n) according to some input/output rule. y(n) = T{x(n)} Discrete-time system examples: An ideal delay: y(n) = x(n − nd ) , nd is the delay of the system. Compressor (down-sampler): y(n) = x(Mn) A rate expander(up-sampler): y(n) = x( n M ) Modulator:y(n) = x(n)cos(nωo) (Rediet Million) DSP-Lecture #3 March, 2018 2 / 27
  • 3. Discrete-Time Systems... An accumulator system is defied as y[n] = n−1 k=−∞ x[k] + x(n) i.e y(n) = y(n − 1) + x(n) A moving average system is defied by y[n] = 1 M1+M2+1 M2 k=M1 x(n − k) - This system computes the nth sample of the output sequence as the average of 1 M1+M2+1 samples of the input sequence around the nth sample. (Rediet Million) DSP-Lecture #3 March, 2018 3 / 27
  • 4. Discrete-Time Systems... Moving average smoothes out rapid variations e.g x(n)= s(n)signal +d(n)noise using 5 point moving average y[n] = 1 5 4 k=0 x(n − k) (Rediet Million) DSP-Lecture #3 March, 2018 4 / 27
  • 5. Discrete-Time Systems... Classification of DT Systems 1.Linear system A system is linear if it satisfies superposition principle. Additive property: T{x1(n) + x2(n)} = T{x1(n)} + T{x2(n)} = y1(n) + y2(n) Homogeneity or scaling property: T{ax(n)} = aT{x(n)} = ay(n) where a is arbitrary constant. These two properties are combined into the principle of superposition: T{ax1(n) + bx2(n)} = aT{x1(n)} + bT{x2(n)} = ay1(n) + by2(n) (Rediet Million) DSP-Lecture #3 March, 2018 5 / 27
  • 6. Discrete-Time Systems... Classification of DT Systems... Example-1 - Accumulator: y[n] = n k=−∞ x[k] x(n) = a · x1(n) + b · x2(n) y[n] = n k=−∞ [a · x1(k) + b · x2(k)] = n k=−∞ [a · x1(k)] + n k=−∞ [b · x2(k)] = a · n k=−∞ [x1(k)] + b · n k=−∞ [x2(k)] = a · y1(n) + b · y2(n) Thus,the system is linear. Example-2 - Offset accumulator: y[n] = C + n k=−∞ x[k] y[n] = C + n k=−∞ [a · x1(k) + b · x2(k)] = C+a· n k=−∞ [x1(k)]+b· n k=−∞ [x2(k)] = a · y1(n) + b · y2(n) Thus,the system is non-linear unless C=0. (Rediet Million) DSP-Lecture #3 March, 2018 6 / 27
  • 7. Discrete-Time Systems... Classification of DT Systems... 2.Time(shift)-invariant system Time shift or delay of the input sequence causes a corresponding shift in the output sequence. if x(n) −→ y(n) implies that x(n − no) −→ y(n − no) Example : Take the system y(n) = n · x(n) If x(n) = x1(n − no) then y(n) = n · x1(n − no) = y(n − no) = (n − no) · x1(n − no) ⇒ Hence, the system is not shift invariant system. (Rediet Million) DSP-Lecture #3 March, 2018 7 / 27
  • 8. Discrete-time systems... Classification of DT Systems... 3.Causal system A system is causal if the output value at n = no depends only on the input sequence values for n ≤ no. In other words, the output of the system at any time depends only on present and past values of the input x(n) i.e[x(n), x(n − 1), x(n − 2), ..x(n − no)] but does not depends on future inputs i.e[x(n + 1), x(n + 2), ..x(n + no)] → non-causal system. Example : -Forward difference system,y(n) = x(n − 1) − x(n), is causal system. -Backward difference system,y(n) = x(n + 1) − x(n), is non-causal system. (Rediet Million) DSP-Lecture #3 March, 2018 8 / 27
  • 9. Discrete-Time Systems... Classification of DT Systems... 4.Stable system A system is said to be stable in the Bounded Input-Bounded Output sense if, for any input that is bounded,|x(n)| ≤ A < ∞ , the output will be bounded,|y(n)| ≤ B < ∞. If for some bounded input x(n) the output is unbounded (infinite) ,then the system is classified as unbounded. Example : Consider the accumulator system y[n] = n k=−∞ x[k] When x(n) = u(n) ,which is clearly bounded by A = 1. For this input,the output of the accumulator is y[n] = n k=−∞ u[k] = (n + 1) , n ≥ 0 0 , n < 0 There is no finite choice for B such that ,(n − 1) ≤ B < ∞ for all n. ⇒ Thus,the system is unstable. (Rediet Million) DSP-Lecture #3 March, 2018 9 / 27
  • 10. Discrete-Time Systems| Classification of DT Systems (#2) Class exercises & Assignment 1) For each of the following systems,determine whether the system is linear system and shift invariant system . a.y(n) = x(n)sin(2πn 7 + π 6 ) b.y(n) = log [x(n)] c.y(n) = 2x(n) + 3 d.y(n) = [x(n)]2 e.y(n) = ex(n) 2) For each of the following systems,determine whether the system is stable and causal system . a.y(n) = [x(n + 1)]2 b.y(n) = ex(n) x(n−1) c.y(n) = cos[x(n + 2)] (Rediet Million) DSP-Lecture #3 March, 2018 10 / 27
  • 11. 1.3.LTI System and Discrete-Time Fourier Transform 1.3.1 Linear Time-Invariant (LTI) Systems This is a particularly important class of systems that combines the properties of linearity and time-invariance. Important due to convenient representations and significant applications. A linear time-invariant system is completely characterized by its impulse response h(n). Given a system : If x(n) = δ(n) then y(n) ≡ h(n) → impulse response (Rediet Million) DSP-Lecture #3 March, 2018 11 / 27
  • 12. Linear Time-Invariant (LTI) Systems... For example take a simple system: Using signal decomposition we know that we can express any sequence by unit sample (impulse) δ(n) as : x(n) = ∞ k=−∞ x(k)δ(n − k) (Rediet Million) DSP-Lecture #3 March, 2018 12 / 27
  • 13. Linear Time-Invariant (LTI) Systems... When we apply the above sequence x(n) as an input to LTI system - Due to linearity : y(n) = T[x(n)] = T[ ∞ k=−∞ x(k)δ(n − k)] y(n) = T[x(n)] = ∞ k=−∞ x(k)T[δ(n − k)] - Due to Time(shift) invariance : T[δ(n)] = h(n) ⇒ T[δ(n − k)] = h(n − k) -Therefore, y(n) = T[x(n)] = ∞ k=−∞ x(k)h(n − k) ≡ x(n) ∗ h(n) = ∞ k=−∞ h(k)x(n − k).... show the proof ! This expression is called convolution sum. (Rediet Million) DSP-Lecture #3 March, 2018 13 / 27
  • 14. Linear Time-Invariant (LTI) Systems... Steps involved to perform the convolution sum y(n) = x(n) ∗ h(n) = ∞ k=−∞ x(k)h(n − k) 1 Consider x(k) and h(k) as a function of k. 2 Obtain the sequence h(n − k) Reflect h(k) about the origin to get h(−k). Shift the reflected sequence by n(to the right if n > 0 and to the left if n < 0). 3 Multiply the two sequence x(k) & h(n − k) and sum the product for all values of K. (Rediet Million) DSP-Lecture #3 March, 2018 14 / 27
  • 15. Linear Time-Invariant (LTI) Systems... Examples 1. Analytically convolution of two signals: x(n) = anu(n) = an , n ≥ 0 0 , n < 0 and h(n) = u(n) Using direct evaluation of the convolution sum we find y(n) = x(n) ∗ h(n) = ∞ k=−∞ x(k)h(n − k) = ∞ k=−∞ aku(k)u(n − k) From the definition of unit step u(k) = 0 for k < 0 and u(n − k) = 0 for k > n.Thus, y(n) = n k=0 ak = 1 − an+1 1 − a = ( 1 − an+1 1 − a )u(n) Some useful formulas: ∞ n=0 an = 1 1 − a for |a| < 1 N−1 n=0 an = 1 − aN 1 − a N−1 n=0 n = 1 2 N(N − 1) ∞ n=0 nan = a (1 − a)2 for |a| < 1 (Rediet Million) DSP-Lecture #3 March, 2018 15 / 27
  • 16. Linear Time-Invariant (LTI) Systems... Examples 2.Graphical convolution of two signals: (Rediet Million) DSP-Lecture #3 March, 2018 16 / 27
  • 17. Linear Time-Invariant (LTI) Systems... Examples (Rediet Million) DSP-Lecture #3 March, 2018 17 / 27
  • 18. Linear Time-Invariant (LTI) Systems... Properties of LTI-systems LTI systems are completely characterized by the impulse response function,h(n). Therefore, we can determine causality and stability from h(n): Causality: h(n) = 0 for n < 0. Stability: ∞ n=−∞ |h(n)| < ∞. For the convolution operator,y(n) = x(n) ∗ h(n),there are several properties of interest : Commutative: x(n) ∗ h(n) = h(n) ∗ x(n) Associative: [x(n) ∗ h1(n)] ∗ h2(n) = x(n) ∗ [h1(n) ∗ h2(n)] Distributive: x(n) ∗ [h1(n) + h2(n)] = x(n) ∗ h1(n) + x(n) ∗ h2(n) Discrete-time convolution will be discussed detail in chapter three. (Rediet Million) DSP-Lecture #3 March, 2018 18 / 27
  • 19. Linear Time-Invariant (LTI) Systems... (#3) Class exercises & Assignment For each of the following pairs of sequences,x(n), represents the input to an LTI system with impulse response h(n).Determine each output y(n) using discrete time convolution. a. b. h(n) = 1 , 0 ≤ n ≤ (N − 1) 0 , otherwise x(n) = anu(n) a. b. h(n) = αn , 0 ≤ n ≤ 10 0 , otherwise x(n) = 1 , 0 ≤ n ≤ 5 0 , otherwise (Rediet Million) DSP-Lecture #3 March, 2018 19 / 27
  • 20. 1.3.2 Linear Constant Coefficient Difference Equation From a computational point of view sometimes convolution sum representation is not very efficient. For example,take a system that has a unit sample response h(n) = αnu(n): Using convolution sum we can express y(n) as : y(n) = ∞ k=0 αnx(n − k) But we can express the output more efficiently in terms of past values of the output in addition to the current and past values of the input . y(n) = αy(n − 1) + x(n) - This equation is a special case of what is known as a linear constant coefficient difference equation (LCCDE). (Rediet Million) DSP-Lecture #3 March, 2018 20 / 27
  • 21. Linear Constant Coefficient Difference Equation... The general form of LCCDE is : y(n) = M k=0 b(k)x(n − k) − N k=1 a(k)y(n − k) - Where the coefficients a(k) and b(k) are constants that define the system. - If a(k) = 0 → recursive difference equation. - If a(k) = 0 → non-recursive difference equation. Before solving LCCDE,it is necessary to specify a set of an initial conditions. For LTI system that is described by a difference equation, the unit sample response,h(n), is found by solving the difference equation for x(n) = δ(n) assuming initial condition is zero. (Rediet Million) DSP-Lecture #3 March, 2018 21 / 27
  • 22. Linear Constant Coefficient Difference Equation... For a non-recursive system ,a(k) = 0, the difference equation becomes y(n) = M k=0 b(k)x(n − k) ⇒ h(n) = N k=0 b(k)δ(n − k) Thus, h(n) is finite in length and the system is referred to as a finite impulse response(FIR) system. However, if a(k) = 0, the unit sample response h(n) is infinite in length and the system is referred to as an infinite impulse response (IIR)system. There are several difference methods that one may use to solve LCCDEs for a general input x(n). Homogeneous and particular solution approach. Z-transform approach→ will discussed in chapter 4. (Rediet Million) DSP-Lecture #3 March, 2018 22 / 27
  • 23. Linear Constant Coefficient Difference Equation... Homogeneous and Particular Solutions Given an LCCDE, the general solution is a sum of two parts: y(n) = yh(n) + yp(n) - yh(n) is known as the homogeneous solution and yp(n) is the particular solution. Homogeneous solutions (zero input response): The homogeneous solution is the response of the the system to the initial conditions, assuming that the input x(n) = 0. The solution is found by solving the difference equation as : N k=0 a(k)y(n − k) = 0 when a0 = 1 y(n) + N k=1 a(k)y(n − k) = 0 (Rediet Million) DSP-Lecture #3 March, 2018 23 / 27
  • 24. Linear Constant Coefficient Difference Equation... Homogeneous and Particular Solutions... The general method of solution to the homogeneous equation is to assume a homogeneous solution, y(n), as yh(n) = λn If the assumed solution is a solution, then it has to satisfy the equation: N k=0 akλn−k = 0 assuming a0 = 1 λn + a1λn−1 + a2λn−2 + .....aNλn−N = 0 λn−N[λN + a1λN−1 + a2λN−2 + .....aN] = 0 The polynomial in braces is called the characteristics polynomial. Because it is of degree N, it may have N roots (distinct or repeated), which may be either real or complex. (Rediet Million) DSP-Lecture #3 March, 2018 24 / 27
  • 25. Linear Constant Coefficient Difference Equation... Homogeneous and Particular Solutions... Distinct roots: The form of the most general solution will be a linear combination of those of each characteristics equations as yh(n) = c1λn 1 + c2λn 2 + c3λn 3 + ...cNλn N - ci is determined from the initial conditions. Repeated roots: If some of the roots of the characteristics equations are repeated then the form of the solution will be modified as yh(n) = c11λn 1 + c12nλn 1 + c13n2 λn 1 + ... + c1mnm−1 λn 1 + c2λn 2 + ...cNλn N (Rediet Million) DSP-Lecture #3 March, 2018 25 / 27
  • 26. Linear Constant Coefficient Difference Equation... Homogeneous and Particular Solutions Particular solutions (zero state response): It is the solution response to the applied input signal. To determine the particular solution yp(n) is to assume that the response will have the same form as the input itself within a multiplier constant. (Rediet Million) DSP-Lecture #3 March, 2018 26 / 27
  • 27. Linear Constant Coefficient Difference Equation... (#4 ) Class exercises & Assignment 1) Determine the total response,y(n),of the following causal systems when the forcing function is x(n). Assume initial conditions are zero. a.y(n) = 5 6 y(n − 1) − 1 6 y(n − 2) + x(n) , x(n) = 2nu(n) b.y(n) − 3y(n − 1) − 4y(n − 2) = x(n) + 2x(n − 1) , x(n) = δ(n) 2) Determine the impulse response and the unit step response of the system described by the following difference equations for n ≥ 0. a.y(n) = 0.7y(n − 1) − 0.1y(n − 2) + 2x(n) − x(n − 2) b.y(n) = 0.6y(n − 1) − 0.08y(n − 2) + x(n) (Rediet Million) DSP-Lecture #3 March, 2018 27 / 27