Professional Documents
Culture Documents
• Discrete-time convolution
• properties of LTI systems
• FIR and IIR systems
• (linear) difference equations with constant coefficients
© AJF 1
Summary (2/2)
• Basic signal properties
– Continuous versus discrete
– Periodic versus aperiodic
– Deterministic versus random
– Energy versus power
– Sinusoidal sequences with a prescribed SNR
© AJF 2
Characterization and representation of discrete signals
variables
Despite the fact that digital signal processing presumes digital (i.e.,
quantized) signals, we will focus mainly on discrete signals and systems
and will address quantization separately, when that is required.
© AJF 3
Characterization and representation of discrete signals
x[0] x[0]
x[1] x[1]
x[-2] x[-2]
x[-3] x[-1] x[2] x[3] x[-3] x[-1] x[2] x[3]
-3 -2 -1 0 1 2 3 n -3 -2 -1 0 1 2 3 4 5 n n integer
Statistical Signal Processing, week 1
x[n] represents symbolically the ENTIRE discrete signal for - < n < +
FEUP-DEEC, September 20, 2022
taking a specific value of n, for example n=2, then x[2] represents the
magnitude of the sample of x[n] at position 2 in the sequence of
numbers
… …
-3 -2 -1 0 1 2 3 n
Statistical Signal Processing, week 1
© AJF 5
Characterization and representation of discrete signals
unit step 1
… …
-3 -2 -1 0 1 2 3 n
sum of
delayed impulses
Statistical Signal Processing, week 1
– it is possible to write:
FEUP-DEEC, September 20, 2022
accumulated sum
of impulses
till position n
exponential sequences
A-3
A-2
A-1
(A and/or may be complex)
A
A
… A2
A3
Statistical Signal Processing, week 1
FEUP-DEEC, September 20, 2022
…
-3 -2 -1 0 1 2 3 4 5 n
© AJF 7
Characterization and representation of discrete signals
sinusoidal sequences
… …
0 12 3 n
is only defined, for example, in the range ]-, +] or [0, 2[
FEUP-DEEC, September 20, 2022
combination of sequences
It is common to combine basic discrete-time sequences to express a large
variety of signals, e.g. :
© AJF 8
Characterization and representation of discrete signals
periodic sequences
those verifying x[n]=x[n+N], for a given integer N and for any value of
n: - < n < +
NOTE: since the n index may only take integer values, the counter-intuitive
case may occur of a function, such as cos(n0+), not showing periodicity in
n, for a given 0, as for example cos(n) :
… …
Statistical Signal Processing, week 1
n
FEUP-DEEC, September 20, 2022
© AJF 9
Characterization and representation of discrete systems
• Discrete-time systems
© AJF 10
Characterization and representation of discrete systems
• example:
discrete
system
FEUP-DEEC, September 20, 2022
x[n] y[n]
discrete
system
x[n-nd] y[n-nd]
© AJF 13
LTI systems: response to a discrete input
linear
system
this result is of limited usefulness since the response of the system to a linear
combination of input impulses is the same combination of the individual responses to the
input impulses which may depend on the position of the impulses (time variance)
Statistical Signal Processing, week 1
LTI
system
• discrete convolution
FEUP-DEEC, September 20, 2022
independent variable
+
y[n]= x[k]h[n-k]
k=-
independent variable parameter (shift in k) !
© AJF 15
LTI systems: the discrete convolution
example of the discrete convolution between two sequences:
x[n] h[n] 3
2 2 2
… … 1
… …
-3 -2 -1 0 1 2 3 n -3 -2 -1 0 1 2 3 n
-3 -2 -1 0 1 2 3 n
Statistical Signal Processing, week 1
x[1]h[n-1] 6
4
FEUP-DEEC, September 20, 2022
2
… …
-3 -2 -1 0 1 2 3 n
10
-3 -2 -1 0 1 2 3 n 16
© AJF
LTI systems: the discrete convolution
– Method 2: solving by realizing n, we follow a computational procedure
similar to the convolution between two continuous signals (one of
discrete sequences is time-reversed and is shifted from - till +, and for each
value of the shift, the accumulation of the sample-to-sample product between
this sequence and the other –frozen- signal is computed). Using our example:
x[n] h[n] 3
2 2 2
… … 1
… …
-3 -2 -1 0 1 2 3 n -3 -2 -1 0 1 2 3 n
x[k]
2 2
we have: … …
Statistical Signal Processing, week 1
-3 -2 -1 0 1 2 3 k
FEUP-DEEC, September 20, 2022
3 h[-k]
2
… 1 …
it is clear that
n<0, y[n]=0. For k
-3 -2 -1 0 1 2 3
example, for n=-3 we have:
3
y[-3]=x[0]h[-3]+x[1]h[-2]=0 2 h[n-k]
… 1 …
-3 -2 -1 0 1 2 3 k
3 h[-k]
2
… 1 … y[0]= x[k]h[-k]=x[0]h[0]=6
-3 -2 -1 0 1 2 3 k
3 h[1-k]
2
… 1 … y[1]= x[k]h[1-k]= x[0]h[1]+x[1]h[0]=10
k
Statistical Signal Processing, week 1
-3 -2 -1 0 1 2 3
FEUP-DEEC, September 20, 2022
3 h[2-k]
2
… 1 … y[2]= x[k]h[2-k]= x[0]h[2]+x[1]h[1]=6
-3 -2 -1 0 1 2 3 k
3 h[3-k]
2
… 1 … y[3]= x[k]h[3-k]=x[1]h[2]=2
-3 -2 -1 0 1 2 3 k 18
© AJF
LTI systems: the discrete convolution
it should be noted that y[n]=0 for n>3 since x[k] and h[n-k] are not
simultaneously different from zero for any value of k.
x[n] * h[n] =?
Statistical Signal Processing, week 1
FEUP-DEEC, September 20, 2022
0 1 2 3 4 5 n 0 1 2 N-1 n
0 1 2 3 4 5 k
h[-k]
Statistical Signal Processing, week 1
1-N 0 1 2 k
Interval 1: n<0 y[n]=0
0 N-1 k 20
© AJF
LTI systems: the discrete convolution
– Interval 1: n < 0, y[n]=0
– Interval 2: 0 n N-1
u[n-k] 1 for n- k 0 k n
– Interval 3: n N-1
y[n]
the final result is:
Statistical Signal Processing, week 1
FEUP-DEEC, September 20, 2022
0 12 3 4 5 6 7 n
In this illustrative case, what is the value of N ?
© AJF 22
Properties of LTI systems
• Since an LTI system is completely characterized by its impulse response,
its properties follow those of the discrete convolution
– commutative property:
h[n] x[n]
Statistical Signal Processing, week 1
x[n]
x[n] y[n] h1[n] y[n]
h1[n]+h2[n] x[n]
h2[n]
© AJF 23
Properties of LTI systems
– series of systems:
x[n] y[n]
h1[n]*h2[n]
– parallel of systems:
Statistical Signal Processing, week 1
FEUP-DEEC, September 20, 2022
© AJF 24
Properties of LTI systems
– condition for the stability of an LTI system: if and only if its impulse
response is absolutely summable:
example: what is the impulse response of each one of the following LTI systems ?
Statistical Signal Processing, week 1
FEUP-DEEC, September 20, 2022
© AJF 25
LTI systems: FIR and IIR systems
• According to the number of non-zero samples of its impulse response, an
LTI system may be classified as:
© AJF 26
Constant-coefficient difference equations
– NOTE 1: this form emphasizes the recursive nature of the relation: the output is
obtained after the input sequence is known and after the previous values of the
output sequence are known.
Statistical Signal Processing, week 1
which reveals we are dealing with an FIR system, while the more general
equation describes an IIR system.
© AJF 27
Constant-coefficient difference equations
Example: what is the impulse response of the causal system described by the
difference equation: y[n]=ay[n-1]+x[n]
x[n] y[n]
delay
a
A: considering x[n]=k[n] e admitting that the system starts from rest:
-1 0 0 0
0 k 0 k
Statistical Signal Processing, week 1
1 0 k ak
2 0 ak a2k
FEUP-DEEC, September 20, 2022
3 0 a2k a3k
4 0 a3k a4k
: : : :
n 0 an-1k ank this means: h[n]=anu[n]
NOTE: the same system may be described by different difference equations; a specific
difference equation is indicative of a specific realization of a discrete system among several
possible alternatives (topic to be detailed later on).
© AJF 28
Basic signal properties
© AJF 29
Basic signal properties
• Periodic versus aperiodic
= + , ∈ ℤ\ 0 , ∀ ∈ℤ
Statistical Signal Processing, week 1
FEUP-DEEC, September 20, 2022
© AJF 32
Basic signal properties
= [ ] <∞
1
= lim [ ] <∞
→ 2 +1
1
= [ ] <∞
© AJF 33
Basic signal properties
= 10 log
© AJF 34
Basic signal properties
© AJF 35
The auto-correlation and the cross-correlation
– if the two waveforms are based on the same discrete-time signal, then
Statistical Signal Processing, week 1
cross-correlation
© AJF 36
The auto-correlation and the cross-correlation
© AJF 37
The auto-correlation and the cross-correlation
– if the similarity between the two waveforms is strong for a given lag,
FEUP-DEEC, September 20, 2022
© AJF 38
The auto-correlation and the cross-correlation
• auto-correlation and cross-correlation examples
– a special waveform is designed such that its auto-correlation
consists of a single impulse, i.e. ℓ = ℓ
– a second waveform y is generated that consists of a noisy version of
+ 3 , i.e. = [ + 3] + [ ], where is a random sequence
that is not correlated to
– both ℓ and ℓ are represented in the following figure
Statistical Signal Processing, week 1
FEUP-DEEC, September 20, 2022
© AJF 39
The auto-correlation and the cross-correlation
• auto-correlation and cross-correlation properties
– in the case of the auto-correlation, it can be easily shown that if the lag
is zero, then we obtain the energy of the signal
0 = [ ] =
∗
– the cross-correlation verifies ℓ = [−ℓ]
Statistical Signal Processing, week 1
© AJF 40
The auto-correlation and the cross-correlation
• auto-correlation and cross-correlation properties
– the results in the previous slide can be used to normalize both auto-
correlation and cross-correlation functions, which leads to ℓ and
ℓ :
Statistical Signal Processing, week 1
FEUP-DEEC, September 20, 2022
Question: the previous results have been developed for energy signals,
how should they be adapted for power signals ?
© AJF 41