3 Frequency Domain Representation of Signal and Systems - COMP407
3 Frequency Domain Representation of Signal and Systems - COMP407
COMP 407
Madhav P Pandey*
* Compiled by
1
Signals and LTI systems in
frequency domain
2
Frequency Analysis of Signals
In addition to time domain representation, signal and
systems can also be represented and analyzed in frequency
domain.
6
Fourier Analysis of DT Signals
Discrete time signals may be represented in terms of
sinusoids or complex exponentials.
y[n] e sn
h[ k
k
]e sk
y[n] x[n] H ( s ) where, H ( s ) h[ k
k
]e sk
For 0 2M N
If there are no common factors in M and N, the fundamental
period of x[n] will be N.
2 2
1 jM n 1 jM n
x[n] e N
e N
2j 2j
15
F S Coefficients - An Example
Comparing it with the synthesis equation of FS
1 1
a0 0, aM , a M , ak 0 for other k
2j 2j
Note that there are N distinct coefficients and FS coefficients
are periodic with period N. 2
For example if N=5 and M=3, i.e., x[n] sin 3 n
5
The FS spectrum looks like:
16
DT Fourier Series -Properties
DTFS is a finite series. DTFS coefficients are periodic.
y[n] bk
DTFS
Linearity:
For constants A and B,
A x[n] B y[n] A ak B bk
DTFS
17
DT Fourier Series -Properties
Time shifting:
Shifting the signal in time results in change of phase
in spectrum.
jk0 n0
x[n n0 ] ak e
DTFS
Frequency shifting:
e jM0 n x[n] ak M
DTFS
Time Reversal:
x[n] a k
DTFS
Conjugation:
x*[n] a * k
DTFS
18
DT Fourier Series -Properties
Periodic Convolution:
x[
l N
l ] y[ n l ] N ak bk
DTFS
Multiplication:
x[n] y[n]
DTFS
ab
l N
l k l
First Difference:
x[n] x[n 1]
1 e jk0 ak
DTFS
Running Sum:
1
k
x[k ]
DTFS
1 e jk0
ak
19
DT Fourier Transform
Discrete Time Fourier Series provides the representation of
DT periodic signals as linear combination of complex
exponentials.
This concept can be extended to apply for signals that are not
periodic. Resulting representation is called Discrete Time
Fourier Transform.
However, in contrast to FS, the complex exponentials
involved in the combination are infinitesimally close in
frequency and the sum converts to an integral.
The basic principle behind this development is same as that
we considered in development of CT Fourier Transform. i.e., an
aperiodic signal can be thought of as a periodic signal with an
infinite period.
20
DT Fourier Transform
DTFT is used to represent aperiodic signals in terms of
sinusoids or complex exponentials.
For a finite duration signal x[n],
x[n]
1
2 X e j
e jn
d
2
Where, X e j is called the Fourier Transform of x[n] and is
given as:
X e x[n]e
j j n
n
By definition,
1
j
X (e ) x[n]e
n
jn
a n jn
e e
a n jn
n n0
n 1 n0 n 0 n 0
1 1 For a>0
1
1 ae j 1 ae j
ae j 1
j
1 ae 1 ae j
1 a2
1 2a cos a 2
22
Fourier Transform-Properties
Let us consider x[n] and y[n] be the finite duration signals
such that,
j
x[n] X (e )
DTFT
y[n] Y (e j )
DTFT
Linearity:
For constants A and B,
A x[n] B y[n] A X (e j ) B Y (e j )
DTFT
Time shifting:
Shifting the signal in time results in change of phase
in spectrum jn j
x[n n0 ] e
DTFT 0
X (e )
23
Fourier Transform-Properties
Frequency Shifting:
e j0 n x[n] X (e j ( 0 ) )
DTFT
Conjugation:
j
x [n] X (e
* DTFT *
)
n
1
k
x[k ]
DTFT
j
(1 e )
X (e ) X (e ) ( 2k )
j j0
k
24
Frequency Response of systems
As already known, complex exponentials are eigen
functions of LTI systems. For LTI systems, output is given
by convolution of input and impulse response.
y[n] x[n] * h[n]
Using Fourier Transform in both sides,
j j j
Y (e ) X (e ) H (e )
j
j Y ( e )
H (e )
X ( e j )
H (e j ) The Fourier Transform of h[n] which is also equal
to the ratio of Y (e j ) to X (e j ) is called frequency response.
25
Frequency Response of systems
Frequency response is used to represent LTI systems in
frequency domain.
h[n]
x[n] e j0 n y[n]
h[n]
x[n] e jn
y[n] x[n]H e jn
Here,
e
1
H (e j
) e
1 k jk 1 j k
k 0
2
k 0
2
1 12 e j
At 2 ,
j 2 1 1 2 j 26.6
H (e ) j 2
e
1 e
1
2
1 2 j
1
5
So,
2 j 26.6 j 2 n 2 j 2 n 26.6
y[n] A e e Ae
5 5
Complex Exponentials and LTI systems
What will be the output of the same system if
x[n] 10 5 sin 2 n 20 cos n
Here,
x[n] 10 5
j n1
2j e
j n 2jn
21j e 2
20 e
1
2 12 e jn
Now, 2 j 26.6 H (e j 2 ) 2 e j 26.6
j 2
H (e j 0 ) 2 H (e ) e
5 5
j
H ( e j ) 2
3
H (e ) 23
So,
2 j 26.6 j 2 n 2 j 26.6 j 2 n 1 2 jn 1 2 jn
y[n] 10 2 5 e e e e 20 e e
2 j 5 2j 5 2 3 2 3
40
y[n] 20 2 5 sin 2 n 26.6 cosn
3
LCC Difference Equations
An important class of LTI systems are those for which
the input and output satisfy an Nth order linear constant
coefficient difference equations of the form:
N M
a
k 0
k y[n k ] bk x[n k ]
k 0
k
a
k 0
z k
Y ( z ) k X ( z)
b z k
k 0 M
Y ( z) k
b z k
H ( z) k 0
N
X ( z)
k
a
k 0
z k
Frequency Response of systems
For a system described by the difference equation,
N M
a
k 0
k y[n k ] bk x[n k ]
k 0
The frequency response is given as:
M
k
b e jk
H ( e j ) k 0
N
k
a e
k 0
j k
1 d e
N
a0 j
k
k 1 32
Frequency Response of systems
The magnitude response is then,
1 c e
M
j
k
j b0
H (e ) k 1
1 d e
N
a0 j
In dB, k 1
k
20 log10 1 ck e 20 log10 1 d k e j
M N
j b0 j
20 log10 H (e ) 20 log10
a0 k 1 k 1
Attenuation in dB,
A 20 log10 H (e j )
Phase Response:
H (e ) 1 ck e 1 d k e j
j b0 M j
N
a0 k 1 k 1