Documente Academic
Documente Profesional
Documente Cultură
0 8
x[n]
(a)
(b)
n
n
Figure 8.8 (a) Finite-length sequence x[n]. (b) Periodic sequence x[n] corre-
sponding to sampling the Fourier transform of x[n] with N = 12.
From Discrete-Time Signal Processing, 2e by Oppenheim, Schafer, and Buck 1999-2000 Prentice Hall, Inc.
... ...
12 0 8
N = 12
x[n] =
~
x[n r12]
r =
0 8
x[n]
(a)
(b)
n
n
Figure 8.8 (a) Finite-length sequence x[n]. (b) Periodic sequence x[n] corre-
sponding to sampling the Fourier transform of x[n] with N = 12.
From Discrete-Time Signal Processing, 2e by Oppenheim, Schafer, and Buck 1999-2000 Prentice Hall, Inc.
... ...
14 7 0
N = 7
14
x[n] =
~
x[n r7]
r =
n
Figure 8.9 Periodic sequence x[n] corresponding to sampling the Fourier trans-
form of x[n] in Figure 8.8(a) with N = 7.
From Discrete-Time Signal Processing, 2e by Oppenheim, Schafer, and Buck 1999-2000 Prentice Hall, Inc.
Procesado Digital de Seales. 4 de Ingeniera Electrnica.
Profesor Emilio Soria. E.T.S.E. Universitat de Valncia.
Transformada Discreta de Fourier (DFT).
Conclusiones a tener en cuenta.
Si x(n) tiene longitud nita se puede recuperar
dicha seal a partir de muestras de su
Transformada de Fourier; no es necesario
conocer dicha Transformada en todas las
frecuencias.
La seal temporal obtenida usando dicho
muestreo de la Transformada de Fourier se
supone peridica por construccin; aunque a
nosotros slo nos interesa el primer periodo.
Se dene la Transformada Discreta de
Fourier (DFT) de una seal x(n) como .
!
x(n) " e
# j" 2" $ " s" n
N
n= 0
N#1
%
=& " X(k) " e
j" 2" $ " k#s ( )" n
N
n= 0
N#1
%
k= 0
N#1
%
!
e
j" 2" # " k$s ( )" n
N
n= 0
N$1
%
=
0 k & s
N k = s
'
(
)
!
x(n) " e
# j" 2" $ " s" n
N
n= 0
N#1
%
=& " N " X(s)
!
x(n) =
1 0 " n " 4
0 5" n " 9
#
$
%
!
X(k) = x(n) " e
# j" 2" $ " k" n
N
n= 0
N#1
%
x(n) =
1
N
" X(k) " e
j" 2" $ " k" n
N
k= 0
N#1
%
!
W
N
= e
" j# 2# $
N
!
X(k) = x(n) "W
N
k" n
n= 0
N#1
$
x(n) =
1
N
" X(k) "W
N
#k" n
k= 0
N#1
$
La Transformada inversa queda
denida como (ecuacin de sintesis)
!
x(n) " e
# j" 2" $ " s" n
N
n= 0
N#1
%
=& " X(k) " e
j" 2" $ " k#s ( )" n
N
n= 0
N#1
%
k= 0
N#1
%
!
e
j" 2" # " k$s ( )" n
N
n= 0
N$1
%
=
0 k & s
N k = s
'
(
)
!
x(n) " e
# j" 2" $ " s" n
N
n= 0
N#1
%
=& " N " X(s)
!
x(n) =
1 0 " n " 4
0 5" n " 9
#
$
%
!
X(k) = x(n) " e
# j" 2" $ " k" n
N
n= 0
N#1
%
x(n) =
1
N
" X(k) " e
j" 2" $ " k" n
N
k= 0
N#1
%
!
W
N
= e
" j# 2# $
N
!
X(k) = x(n) "W
N
k" n
n= 0
N#1
$
x(n) =
1
N
" X(k) "W
N
#k" n
k= 0
N#1
$
Si se dene
!
x(n) " e
# j" 2" $ " s" n
N
n= 0
N#1
%
=& " X(k) " e
j" 2" $ " k#s ( )" n
N
n= 0
N#1
%
k= 0
N#1
%
!
e
j" 2" # " k$s ( )" n
N
n= 0
N$1
%
=
0 k & s
N k = s
'
(
)
!
x(n) " e
# j" 2" $ " s" n
N
n= 0
N#1
%
=& " N " X(s)
!
x(n) =
1 0 " n " 4
0 5 " n " 9
#
$
%
!
X(k) = x(n) " e
# j" 2" $ " k" n
N
n= 0
N#1
%
x(n) =
1
N
" X(k) " e
j" 2" $ " k" n
N
k= 0
N#1
%
!
W
N
= e
" j# 2# $
N
!
X(k) = x(n) "W
N
k" n
n= 0
N#1
$
x(n) =
1
N
" X(k) "W
N
#k" n
k= 0
N#1
$
!
x(n) " e
# j" 2" $ " s" n
N
n= 0
N#1
%
=& " X(k) " e
j" 2" $ " k#s ( )" n
N
n= 0
N#1
%
k= 0
N#1
%
!
e
j" 2" # " k$s ( )" n
N
n= 0
N$1
%
=
0 k & s
N k = s
'
(
)
!
x(n) " e
# j" 2" $ " s" n
N
n= 0
N#1
%
=& " N " X(s)
!
x(n) =
1 0 " n " 4
0 5 " n " 9
#
$
%
!
X(k) = x(n) " e
# j" 2" $ " k" n
N
n= 0
N#1
%
x(n) =
1
N
" X(k) " e
j" 2" $ " k" n
N
k= 0
N#1
%
!
W
N
= e
" j# 2# $
N
!
X(k) = x(n) "W
N
k" n
n= 0
N#1
$
x(n) =
1
N
" X(k) "W
N
#k" n
k= 0
N#1
$
Ec. Anlisis
Ec. Sntesis
Procesado Digital de Seales. 4 de Ingeniera Electrnica.
Profesor Emilio Soria. E.T.S.E. Universitat de Valncia.
Ejemplo de DFT (I).
5
| X(e
j
)|
0
0
5 10 1 1
... ...
2
1
1
3 4 6 7 8 9 11
x[n]
~
x[n]
(c)
(b)
(a)
2 4
5
0 1 2 5 10 1 2 3 4 6 7 8 9 11
X[k]
(d)
... ...
0 5 10 15 20
0 4
n
n
X[k]
~
k
k
Figure 8.10 Illustration of the DFT. (a) Finite-length sequence x[n]. (b) Periodic
sequence x[n] formed from x[n] with period N = 5. (c) Fourier series coefcients
X [k] for x[n]. To emphasize that the Fourier series coefcients are samples of the
Fourier transform, |X (e
j
)| is also shown. (d) DFT of x[n].
F
r
o
m
D
i
s
c
r
e
t
e
-
T
i
m
e
S
i
g
n
a
l
P
r
o
c
e
s
s
i
n
g
,
2
e
b
y
O
p
p
e
n
h
e
i
m
,
S
c
h
a
f
e
r
,
a
n
d
B
u
c
k
1
9
9
9
-
2
0
0
0
P
r
e
n
t
i
c
e
H
a
l
l
,
I
n
c
.
Sea la seal x(n); vamos a
calcular su DFT con N=5.
Implcitamente suponemos
que se tiene la seal
5
| X(e
j
)|
0
0
5 10 1 1
... ...
2
1
1
3 4 6 7 8 9 11
x[n]
~
x[n]
(c)
(b)
(a)
2 4
5
0 1 2 5 10 1 2 3 4 6 7 8 9 11
X[k]
(d)
... ...
0 5 10 15 20
0 4
n
n
X[k]
~
k
k
Figure 8.10 Illustration of the DFT. (a) Finite-length sequence x[n]. (b) Periodic
sequence x[n] formed from x[n] with period N = 5. (c) Fourier series coefcients
X [k] for x[n]. To emphasize that the Fourier series coefcients are samples of the
Fourier transform, |X (e
j
)| is also shown. (d) DFT of x[n].
F
r
o
m
D
i
s
c
r
e
t
e
-
T
i
m
e
S
i
g
n
a
l
P
r
o
c
e
s
s
i
n
g
, 2
e
b
y
O
p
p
e
n
h
e
i
m
, S
c
h
a
f
e
r
, a
n
d
B
u
c
k
1
9
9
9
-
2
0
0
0
P
r
e
n
t
i
c
e
H
a
l
l
, I
n
c
.
Aplicando la denicin y
haciendo algunos clculos
!
X(k) = x(n) " e
# j" 2" $ " k" n
5
n= 0
4
%
=
1#e
# j" 2" $ " k
1#e
#2" j" $ " k
5
=
0 k & 5" r
5 k = 5" r
r entero
'
(
)
!
X(k) =
e
" j# $ # k
2
e
" j# $ # k
10
#
e
j# $ # k
2
"e
" j# $ # k
2
e
j# $ # k
10
"e
" j# $ # k
10
= e
" j# $ # 0.4# k
#
sen
$ # k
2
%
&
'
(
)
*
sen
$ # k
10
%
&
'
(
)
*
5
| X(e
j
)|
0
0
5 10 1 1
... ...
2
1
1
3 4 6 7 8 9 11
x[n]
~
x[n]
(c)
(b)
(a)
2 4
5
0 1 2 5 10 1 2 3 4 6 7 8 9 11
X[k]
(d)
... ...
0 5 10 15 20
0 4
n
n
X[k]
~
k
k
Figure 8.10 Illustration of the DFT. (a) Finite-length sequence x[n]. (b) Periodic
sequence x[n] formed from x[n] with period N = 5. (c) Fourier series coefcients
X [k] for x[n]. To emphasize that the Fourier series coefcients are samples of the
Fourier transform, |X (e
j
)| is also shown. (d) DFT of x[n].
F
r
o
m
D
is
c
r
e
te
-
T
im
e
S
ig
n
a
l P
r
o
c
e
s
s
in
g
, 2
e
b
y
O
p
p
e
n
h
e
im
, S
c
h
a
f
e
r
, a
n
d
B
u
c
k
1
9
9
9
-
2
0
0
0
P
r
e
n
tic
e
H
a
ll, I
n
c
.
5
| X(e
j
)|
0
0
5 10 1 1
... ...
2
1
1
3 4 6 7 8 9 11
x[n]
~
x[n]
(c)
(b)
(a)
2 4
5
0 1 2 5 10 1 2 3 4 6 7 8 9 11
X[k]
(d)
... ...
0 5 10 15 20
0 4
n
n
X[k]
~
k
k
Figure 8.10 Illustration of the DFT. (a) Finite-length sequence x[n]. (b) Periodic
sequence x[n] formed from x[n] with period N = 5. (c) Fourier series coefcients
X [k] for x[n]. To emphasize that the Fourier series coefcients are samples of the
Fourier transform, |X (e
j
)| is also shown. (d) DFT of x[n].
F
r
o
m
D
is
c
r
e
te
-
T
im
e
S
ig
n
a
l P
r
o
c
e
s
s
in
g
, 2
e
b
y
O
p
p
e
n
h
e
im
, S
c
h
a
f
e
r
, a
n
d
B
u
c
k
1
9
9
9
-
2
0
0
0
P
r
e
n
tic
e
H
a
ll, I
n
c
.
Lo que obtenemos son innitas
muestras periodicas; slo nos
interesa el primer periodo
Procesado Digital de Seales. 4 de Ingeniera Electrnica.
Profesor Emilio Soria. E.T.S.E. Universitat de Valncia.
Ejemplo de DFT (II).
Ahora consideramos N=10.
Implcitamente suponemos
que se tiene la seal
x[n]
~
(b)
10 0 4 10
| X[k]|
(c)
10 0 10
x[n]
(a)
0
1
1
5
3.24 3.24
1.24 1.24
0.4
0.2
0.2
0.4
1
4
X[k]
(d)
10 0 10 k
k
n
nn
Figure 8.11 Illustration of the DFT. (a) Finite-length sequence x[n]. (b) Periodic
sequence x[n] formed from x[n] with period N = 10. (c) DFT magnitude. (d) DFT
phase. (xs indicate indeterminate values.)
From Discrete-Time Signal Processing, 2e by Oppenheim, Schafer, and Buck 1999-2000 Prentice Hall, Inc.
x[n]
~
(b)
10 0 4 10
| X[k]|
(c)
10 0 10
x[n]
(a)
0
1
1
5
3.24 3.24
1.24 1.24
0.4
0.2
0.2
0.4
1
4
X[k]
(d)
10 0 10 k
k
n
nn
Figure 8.11 Illustration of the DFT. (a) Finite-length sequence x[n]. (b) Periodic
sequence x[n] formed from x[n] with period N = 10. (c) DFT magnitude. (d) DFT
phase. (xs indicate indeterminate values.)
From Discrete-Time Signal Processing, 2e by Oppenheim, Schafer, and Buck 1999-2000 Prentice Hall, Inc.
x[n]
~
(b)
10 0 4 10
| X[k]|
(c)
10 0 10
x[n]
(a)
0
1
1
5
3.24 3.24
1.24 1.24
0.4
0.2
0.2
0.4
1
4
X[k]
(d)
10 0 10 k
k
n
nn
Figure 8.11 Illustration of the DFT. (a) Finite-length sequence x[n]. (b) Periodic
sequence x[n] formed from x[n] with period N = 10. (c) DFT magnitude. (d) DFT
phase. (xs indicate indeterminate values.)
From Discrete-Time Signal Processing, 2e by Oppenheim, Schafer, and Buck 1999-2000 Prentice Hall, Inc.
Operando
!
X(k) = x(n) " e
# j" 2" $ " k" n
10
n= 0
9
%
= x(n) " e
# j" $ " k" n
5
n= 0
4
%
=
1#e
# j" $ " k
1#e
# j" $ " k
5
= e
# j" $ " 0.4" k
"
sen
$ " k
2
&
'
(
)
*
+
sen
$ " k
10
&
'
(
)
*
+
!
X(k) =
e
" j# $ # k
2
e
" j# $ # k
10
#
e
j# $ # k
2
"e
" j# $ # k
2
e
j# $ # k
10
"e
" j# $ # k
10
= e
" j# $ # 0.4# k
#
sen
$ # k
2
%
&
'
(
)
*
sen
$ # k
10
%
&
'
(
)
*
!
X(k) = x(n) " e
# j" 2" $ " k" n
10
n= 0
9
%
= x(n) " e
# j" $ " k" n
5
n= 0
4
%
=
1#e
# j" $ " k
1#e
# j" $ " k
5
= e
# j" $ " 0.4" k
"
sen
$ " k
2
&
'
(
)
*
+
sen
$ " k
10
&
'
(
)
*
+
!
X(k) =
e
" j# $ # k
2
e
" j# $ # k
10
#
e
j# $ # k
2
"e
" j# $ # k
2
e
j# $ # k
10
"e
" j# $ # k
10
= e
" j# $ # 0.4# k
#
sen
$ # k
2
%
&
'
(
)
*
sen
$ # k
10
%
&
'
(
)
*
Procesado Digital de Seales. 4 de Ingeniera Electrnica.
Profesor Emilio Soria. E.T.S.E. Universitat de Valncia.
Propiedades de la DFT
TABLE 8.2
Finite-Length Sequence (Length N) N-point DFT (Length N)
1. x[n] X[k]
2. x
1
[n], x
2
[n] X
1
[k], X
2
[k]
3. ax
1
[n] +bx
2
[n] aX
1
[k] +bX
2
[k]
4. X[n] Nx[((k))
N
]
5. x[((n m))
N
] W
km
N
X[k]
6. W
n
N
x[n] X[((k ))
N
]
7.
N1
m=0
x
1
(m)x
2
[((n m))
N
] X
1
[k]X
2
[k]
8. x
1
[n]x
2
[n]
1
N
N1
=0
X
1
()X
2
[((k ))
N
]
9. x
[n] X
[((k))
N
]
10. x
[((n))
N
] X
[k]
11. Re{x[n]} X
ep
[k] =
1
2
{X[((k))
N
] + X
[((k))
N
]}
12. j Jm{x[n]} X
op
[k] =
1
2
{X[((k))
N
] X
[((k))
N
]}
13. x
ep
[n] =
1
2
{x[n] + x
[((n))
N
]} Re{X[k]}
14. x
op
[n] =
1
2
{x[n] x
[((n))
N
]} j Jm{X[k]}
Properties 1517 apply only when x[n] is real.
15. Symmetry properties
X[k] = X
[((k))
N
]
Re{X[k]} = Re{X[((k))
N
]}
Jm{X[k]} = Jm{X[((k))
N
]}
|X[k]| = |X[((k))
N
]|
{X[k]} = {X[((k))
N
]}
16. x
ep
[n] =
1
2
{x[n] + x[((n))
N
]} Re{X[k]}
17. x
op
[n] =
1
2
{x[n] x[((n))
N
]} j Jm{X[k]}
From Discrete-Time Signal Processing, 2e by Oppenheim, Schafer, and Buck 1999-2000 Prentice Hall, Inc.
!
X(k) = x(n) " e
# j" 2" $ " k" n
10
n= 0
9
%
= x(n) " e
# j" $ " k" n
5
n= 0
4
%
=
1#e
# j" $ " k
1#e
# j" $ " k
5
= e
# j" $ " 0.4" k
"
sen
$ " k
2
&
'
(
)
*
+
sen
$ " k
10
&
'
(
)
*
+
!
X(k) =
e
" j# $ # k
2
e
" j# $ # k
10
#
e
j# $ # k
2
"e
" j# $ # k
2
e
j# $ # k
10
"e
" j# $ # k
10
= e
" j# $ # 0.4# k
#
sen
$ # k
2
%
&
'
(
)
*
sen
$ # k
10
%
&
'
(
)
*
!
x n
( ) ( )
N
[ ]
= x n mdulo N
( ) [ ]
!
x(n) " e
# j" 2" $ " s" n
N
n= 0
N#1
%
=& " X(k) " e
j" 2" $ " k#s ( )" n
N
n= 0
N#1
%
k= 0
N#1
%
!
e
j" 2" # " k$s ( )" n
N
n= 0
N$1
%
=
0 k & s
N k = s
'
(
)
!
x(n) " e
# j" 2" $ " s" n
N
n= 0
N#1
%
=& " N " X(s)
!
x(n) =
1 0 " n " 4
0 5" n " 9
#
$
%
!
X(k) = x(n) " e
# j" 2" $ " k" n
N
n= 0
N#1
%
x(n) =
1
N
" X(k) " e
j" 2" $ " k" n
N
k= 0
N#1
%
!
W
N
= e
" j# 2# $
N
!
X(k) = x(n) "W
N
k" n
n= 0
N#1
$
x(n) =
1
N
" X(k) "W
N
#k" n
k= 0
N#1
$
Procesado Digital de Seales. 4 de Ingeniera Electrnica.
Profesor Emilio Soria. E.T.S.E. Universitat de Valncia.
Cuestiones a tener en cuenta con la DFT
Aqu tenamos dos problemas; por una parte tenemos un sumatorio innito; necesito conocer
TODA la secuencia x(n) desde para calcular dicha Transformada de Fourier.
Por otra parte, la Transformada de Fourier es funcin de una variable (w) que puede tomar
innitos valores (intervalo 0-2).
Las soluciones han sido por una parte restringir el tamao de x(n); este hecho tendr una
repercusin directa sobre la RESOLUCIN de la DFT. Se dene dicha resolucin como la
mnima frecuencia que la DFT puede discernir. De modo intuitivo si tengo una seal de
duracin 1 s la mnima frecuencia que podr diferenciar es 1 Hz (en ese intervalo temporal la
sinusoide completa con frecuencia mnima es la de 1 Hz). Otro efecto relacionado con el
anterior es el del enventanado que se comentar ms adelante.
Por otra parte, se ha muestreado la Transformada de Fourier lo que conduce a efectos
parecidos a los que se tena cuando se muestreaba a nivel temporal; por una parte la
repeticin de espetros (a nivel temporal) se traduce aqu en una repeticin de la seal
temporal. Esto adems conlleva a tener en cuenta los posible efectos del aliasing
temporal.
La Transformada de Fourier de una secuencia
discreta x(n) viene denida de la siguiente forma
!
X(k) = x(n) " e
# j" 2" $ " k" n
10
n= 0
9
%
= x(n) " e
# j" $ " k" n
5
n= 0
4
%
=
1#e
# j" $ " k
1#e
# j" $ " k
5
= e
# j" $ " 0.4" k
"
sen
$ " k
2
&
'
(
)
*
+
sen
$ " k
10
&
'
(
)
*
+
!
X(k) =
e
" j# $ # k
2
e
" j# $ # k
10
#
e
j# $ # k
2
"e
" j# $ # k
2
e
j# $ # k
10
"e
" j# $ # k
10
= e
" j# $ # 0.4# k
#
sen
$ # k
2
%
&
'
(
)
*
sen
$ # k
10
%
&
'
(
)
*
!
x n
( ) ( )
N
[ ]
= x n mdulo N
( ) [ ]
!
X e
j" w
( )
= x l
( )
" e
j" w" l
l=#$
$
%