Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
=
=
=
=
1, 0
( )
0, 0
n
u n
n
>
<
, 0
( )
0, 0
n n
r n
n
>
=
<
Athanassios Iossifides DIGITAL SIGNAL PROCESSING 8
.2 Fundamental discrete time signals
Exponential signals
a real number
( )
n
x n a =
0 1 a < <
1 a >
Athanassios Iossifides DIGITAL SIGNAL PROCESSING 9
.2 Fundamental discrete time signals
Exponential signals
a real number
( )
n
x n a =
1 0 a < <
1 a <
Athanassios Iossifides DIGITAL SIGNAL PROCESSING 10
.2 Fundamental discrete time signals
Exponential signal
a complex number
( )
( )
(cos sin )
( ) ( )
n
j
n jn
n
R I
x n a
a re
x n r e
r n j n
x n jx n
=
=
= =
= +
= +
Real part
Imaginary part
Athanassios Iossifides DIGITAL SIGNAL PROCESSING 11
.2 Fundamental discrete time signals
Exponential signal
a complex number
( )
( )
( ) ( )
( )
( )
n
j
n jn
n
x n a
a re
x n r e
x n n
x n r
n n
=
=
= =
= Z
=
Z =
Magnitude
Angle
Athanassios Iossifides DIGITAL SIGNAL PROCESSING 12
.3 Transformations on the
independent variable
. Discrete time signals
Athanassios Iossifides DIGITAL SIGNAL PROCESSING 13
.3 Transformations on the independent variable
Shift
( ) ( ) x n x n =
( ) ( ) x n x n =
0
0
0
0
n delay
n precedence
>
<
( ) x n
( 3) x n
( 2) x n +
0
n n n
Athanassios Iossifides DIGITAL SIGNAL PROCESSING 14
.3 Transformations on the independent variable
Folding (reflection)
n n
( ) x n
( ) x n
Athanassios Iossifides DIGITAL SIGNAL PROCESSING 15
.3 Transformations on the independent variable
Down sampling
The resulting sequence corresponds to the one that we would have if the
sampling frequency was M times smaller.
n Mn
( ) x n
( ) x n
(2 ) x n
Athanassios Iossifides DIGITAL SIGNAL PROCESSING 16
.4 Transformations on the
dependent variable (signal
operations)
. Discrete time signals
Athanassios Iossifides DIGITAL SIGNAL PROCESSING 17
.4 Signal operations
Addition, multiplication and scaling
Addition
Multiplication
Scaling
1 2
( ) ( ) ( ), y n x n x n n = + < <
1 2
( ) ( ) ( ), y n x n x n n = < <
2
( ) ( ), y n cx n n = < <
1 2
( ) ( ) ( ) y n x n x n =
1 2
( ) ( ) ( ) y n x n x n = +
Athanassios Iossifides DIGITAL SIGNAL PROCESSING 18
.5 Signal classification
. Discrete time signals
Athanassios Iossifides DIGITAL SIGNAL PROCESSING 19
.5 Signal classification
Energy signals and power signals
Signal energy
Mean signal power
When the energy of a signal is finite (0 < < ), then the signal is called
energy signal.
When the mean power of a signal is finite (0 < P < ), then the signal is called
power signal.
A signal may be either
a power signal
or an energy signal
or none of the two.
2
( )
n
E x n
=
=
2
1 1
lim ( ) lim
2 1 2 1
N
N
N N
n N
P x n E
N N
=
= =
+ +
=
=
Athanassios Iossifides DIGITAL SIGNAL PROCESSING 21
.5 Signal classification
Even and odd signals
A signal is said to be even when
A signal is said to be odd when
Every real valued signal can be written (decomposed) as a sum of an even and
an odd signal, that is
where
( ) ( ) x n x n =
( ) ( ) ( )
e o
x n x n x n = +
1
( ) [ ( ) ( )]
2
1
( ) [ ( ) ( )]
2
e
o
x n x n x n
x n x n x n
= +
=
( ) ( ) x n x n =
Athanassios Iossifides DIGITAL SIGNAL PROCESSING 22
.5 Signal classification
Even and odd signals
( ) ( ) ( 10) x n u n u n =
1
( ) [ ( ) ( )]
2
e
x n x n x n = +
1
( ) [ ( ) ( )]
2
o
x n x n x n =
Athanassios Iossifides DIGITAL SIGNAL PROCESSING 23
.6 Signal analysis and synthesis
with impulses
. Discrete time signals
Athanassios Iossifides DIGITAL SIGNAL PROCESSING 24
.6 Signal analysis and synthesis with impulses
Athanassios Iossifides DIGITAL SIGNAL PROCESSING 25
.6 Signal analysis and synthesis with impulses
Let x(n) a discrete time signal.
(n-k) is zero everywhere except at shift (position) n = k.
The product x(n)(n-k) equals to the value of x(n) at the position n = k, that is
The above is true for any shift k. Repeating this procedure for all k we can
reproduce x(n) as a sum of weighted unit sample sequences (impulses), as
follows
( ) ( ) ( ) ( ) x n n k x k n k =
( ) ( ) ( ) ( )
( ) ( ) ( ) ( )
( ) ( ) ( )
k k
k k
k
x n n k x k n k
x n n k x k n k
x n x k n k
= =
= =
=
=
=
=
=
= =
2
(0) ( )
xx
n
r x n E
=
= =
1
0
1
0
1
( ) ( ) ( ),
1
( ) ( ) ( ),
N
xx
n
N
xy
n
r l x n x n l Nthe period
N
r l x n y n l Nthe period
N
=
=
=
=
= +
(0)
xx
r E =
(2) ( ) ( 2)
xx
n
r x n x n
=
=
=
= =
( ) ( ) ( ) ( ), 1, 2, 3,...
yx xy
n
r l x n l y n r l l
=
= + = =
(0) ( ) ( ) 0
xy
n
r x n y n
=
= =
+ s s
= s s
1 2
( ) {...0, , ,1,1,1,1,0...}
3 3
x n
|
=
1 2
( ) ( 2) ( 1) ( ) ( 4)
3 3
x n n n u n u n = + + + +
Athanassios Iossifides DIGITAL SIGNAL PROCESSING 33
.8 Examples
Signal transformations Proakis 2.2(a), 2.2()
Find y(n) = x(4 n)
First I shift the signal and then fold it.
1 1
( ) {...,0,1,1,1,1, , ,0,...}
2 2
x n
|
=
( ) (4 )
1 1
{...,0, , ,1,1,1,1,0,...}
2 2
y n x n
|
=
=
Athanassios Iossifides DIGITAL SIGNAL PROCESSING 34
.8 Examples
Signal transformations Proakis 2.2()
Find
First I crate x(n-1)
1 1
( ) {...,0,1,1,1,1, , ,0,...}
2 2
x n
|
=
( ) ( 1) ( 3) y n x n n =
( 3) {...,0,0,0,0,0,1,0,0,...} n
|
=
1 1
( 1) {...,0,0,1,1,1,1, , ,0,...}
2 2
x n
|
=
( 1) ( 3) {...,0,0,0,0,0,1,0,0,...} x n n
|
=
Athanassios Iossifides DIGITAL SIGNAL PROCESSING 35
.8 Examples
Are these periodic signals?
( ) cos( / 8)cos( / 8) x n n n =
1 2
( ) ( ) ( ) x n x n x n =
( ) cos( / 2) sin( / 8) x n n n =
Athanassios Iossifides DIGITAL SIGNAL PROCESSING 36
.8 Examples
Even and odd signals decomposition 2.4 Proakis
( ) {2,3,4,5,6} x n
|
=
1
( ) [ ( ) ( )]
2
1
[{2,3,4,5,6} {6,5,4,3,2}]
2
{4,4,4,4,4}
e
x n x n x n
| |
|
= + =
= + =
=
1
( ) [ ( ) ( )]
2
1
[{2,3,4,5,6} {6,5,4,3,2}]
2
{ 2, 1,0,1,2}
o
x n x n x n
| |
|
= =
= =
=
Athanassios Iossifides DIGITAL SIGNAL PROCESSING 37
Autocorrelation application to distance estimation
Transmitted signal
x(n) barker code
(very good autocorrelation
properties)
Received signal after
attenuation and noise
addition
D delay
w(n) Gaussian noise
Correlation of x(n)
and y(n)
Distance D estimation
.8 Examples
( ) ( ) ( ) y n ax n D w n = +