Professional Documents
Culture Documents
Aydn Akan
ck
...
-2
2
-1
0 1
...
k
TABLE OF CONTENTS
4. FILTERING
Continuous-time variable
Discrete-time variable
x(t),
x(n),
Continuous-time signal
Discrete-time signal
x(n) is defined only for integer values of n. For some discrete-time signals, the independent variable is inherently discrete (e.g. precipitation per
month, height vs. year).
On the other hand, some discrete-time signals may represent samples of
a continuous-time signal. For example, to process a continuous time signal
on a digital computer, we use samples of this signal at discrete-time signals.
This is called sampling of a continuous-time signal.
4
A speech segment
0.4
0.3
0.2
0.1
0.1
0.2
0.3
0.4
10
12
Time, t [msec]
14
16
18
20
n = ... 1, 0, 1, ...
where T is called the sampling period. Finally, based on the nature of the
time and the amplitude variables, we have the following signal classification:
Amplitude / Time
Continuous
Discrete
Continuous
ANALOG
QUANTIZED
Discrete
DISCRETE-TIME
DIGITAL
Jan
Feb
Mar
Apr
Nov
Dec
P(kg)
months
H(cm)
90
80
60
70
...
50
...
years
x(t)
<1
x(t) =
expansion
= 1 x(t)
> 1 contraction
x(t)
d) Scaling by a Constant:
8
x(t/2)
x(0)
x(t-t0)
x(0)
t0
xe (t) = xe (t),
xe (n) = xe (n),
xo (n) = xo (n),
(1)
x(t) + x(t)
.
2
10
(2)
Then, we get
xo (t) =
x(t) x(t)
.
2
f ) Periodicity of Signals:
A signal is periodic with period T if there exist a positive real number
T for which;
x(t) = x(t + mT )
for any integerm
The smallest possible value of T is called the fundamental period T0 , and
x(t) = x(t + T0 ). A constant signal is periodic with any choice of T (there
is no smallest possible value).
For discrete time signals,
x(n) = x(n + kN )
u(t) =
1 t>0
0 t<0
Figure 11 shows a unit-step function u(t). As we see, u(t) is not defined for
t = 0 causing a discontinuity.
b) Unit-Impulse Function:
The unit-impulse or delta dirac function is defined as the derivative of
the unit-step function:
11
u(t)
(t) =
d
u(t)
dt
u(t) =
Z t
( )d
(t) =
d
u (t)
dt
The (t) (shown in Fig. 13) can be viewed as a non-ideal impulse function.
In fact, as 0, (t) gets narrower and higher but maintains its unit
area. Finally,
lim (t) = (t)
Figure 14 shows the ideal unit-impulse function in this as the limit case.
12
u (t)
dD
(t)
1/
k( )d = ku(t)
d(t)
1
x(t)
Aeat
A
a>0
x(t)
Aeat
A
a<0
(3)
where t is the time in seconds, 0 = 2F0 is the fundamental radial frequency in radian/seconds, is the initial phase in radians, F0 is the frequency in Hertz. Fig. 17 shows a part of a (periodic) real-valued sinusoidal
signal with radial frequency 0 , i.e., fundamental period T0 = 2/0 .
Complex sinusoids and real sinusoids are related by the Euler identities:
15
x(t)
Acos(W0 t + F)
T0
AcosF
u(n) =
1 n0
0 n<0
16
Fig. 18 show a discrete-time unit-step function u(n). Notice that in discretetime unit-step function, there is no ambiguity at n = 0, namely u(0) = 1.
u(n)
(n) =
1 n=0
0 n=
6 0
d(n)
1
. . .
. . .
n
u(n) =
(n k)
k=0
u(n) =
(m)
m=
This idea is illustrated in Figs. 20-(a) and 20-(b) for n < 0 and n 0
respectively.
d (m)
u(n)=0
1
m
n<0
(a)
d (m)
u(n)=1
n>0
(b)
Figure 20: Representation of unit-step as running-sum of unit-impulse, (a)
for n < 0, (b) for n 0.
18
c) Complex Exponentials/Sinusoids:
In the discrete-time, we define complex exponentials as
x(n) = Aean = An
In general, A and are complex values. When A and are real, we have
the following situations:
|| > 1: increasing exponential
|| < 1: decreasing exponential
> 0: all positive values
< 0: alternating signs
In Fig. 21, we see an increasing exponential with all positive values, > 1,
but in Fig. 22, we have a decreasing exponential with all positive values,
0 < < 1.
x(n)
a>1
...
Aan
A
...
19
x(n)
0<a<1
Aan
A
...
...
x(n)
a<-1
...
Aan
A
...
(4)
x(n)
Aan
...
-1<a <0
A
...
Figure 24: A decreasing exponential with positive and negative values, 1 <
< 0.
normalized discrete frequency with no units.
Complex- and real-valued sinusoids are related to each other in the same
way with their continuous-time counterparts:
Aej(0 n+) = A cos(0 n + ) + jA sin(0 n + )
Aej(0 n+) = A cos(0 n + ) jA sin(0 n + )
A j(0 n+) A j(0 n+)
e
+ e
A cos(0 n + ) =
2
2
A j(0 n+) A j(0 n+)
A sin(0 n + ) =
e
e
2j
2j
22
23
It looks like the frequency of this signal is 0 = 0.5 rad. Calculating the
ratio
2
2
N
=
= 4 = .
0
0.5
k
4 is not an integer value and it cannot be the period of this signal. Moreover, it is not a rational number. It is not possible to find an integer
k such that k 4 is an integer. Hence the signal x(n) = cos(0.5n) is not
periodic.
y(t)
x(n)
y(n)
y(t)
2
24
x(t)
y(t)
y(t) = 1/C
Z t
x( )d( )
where x(t) is the input current and y(t) is the output voltage of a capacitor
that is also a system with memory.
2. Invertible Systems:
A system is invertible if by observing the output, we can determine its
input. The transformation must be 1-1 for us to get the systems inverse.
Given the system equation
y(t) = 2x(t)
the inverse system can be determined easily as x(t) = 1/2 y(t).
Example: Consider an accumulator system
y(n) =
n
X
x(k).
k=
(5)
(6)
ak xk (t) =
ak T [xk (t)] =
X
k
26
ak yk (t)
and
and
and
y(t) = x(t + 1)
and
systems are stable, i.e., any bounded input will generate a bounded output
signal. However,
y(n) = x(n) + 2y(n 1)
system is unstable because of the 2 gain factor in the feedback from y(n 1)
to y(n) which causes the output to blow up as n grows.
28
x(t) =
ak xk (t)
k=1
= a1 x1 (t) + a2 x2 (t) +
generates the output
y(t) = a1 y1 (t) + a2 y2 (t) +
=
ak yk (t)
k=1
x( ) (t ) d
x(t) (t )d
29
(7)
x(t)
x(t) (t)
x(0)
x(0) (t)
d(t)
=
t
x(k)(n k)
(8)
k=
d(n-1)
x(n)
x(n)
d(n-1)
x(1)
x(1)
=
n
1
1
1
(n + 1) + (n) (n 1) + (n 2)
2
2
4
30
given in Fig. 30. This signal can be represented as a sum of four shifted
impulses that are scaled by the amplitude of the samples, i.e.,
x(n) = x(1) (n + 1) + x(0)(n) + x(1) (n 1) + x(2) (n 2)
We show all of these four components of the signal in Fig. 30.
x(t) =
x( )(t )d
(9)
Let h(t) be the response of the system given in Fig. 31, to the input (t)
(unit-impulse function), i.e.,
T [(t)] = h(t)
Since the system is known to be time-invariant, the response of the system
to a shifted impulse should be
T [(t )] = h(t )
(Time-Invariance)
31
(Homogeneity)
x(n) (n+1)
1/2
-3
-2
-1
x(n) (n)
x(n)
-3
-2
-1
x(n) (n-1)
1/2
1/4
1
-3
-2
-1
-1/2
1
-3
-2
-1
-1/2
x(n) (n-2)
1/4
-3
-2
-1
+
Figure 30: A discrete-time signal and its impulse representation.
32
d(t)
d(t-t)
h(t)
t)
h(t-
x( ) (t ) d
= x(t)
x( ) h(t ) d
= y(t)
(10)
(Additivity)
(11)
where y(t) is the output of this system to the input signal x(t). This relation
is called The Convolution Integral and it is denoted by ,
y(t) = x(t) h(t) =
x( ) h(t ) d
(12)
x( ) h(t ) d
x(t ) h( ) d
3. Distributive:
x(t) (h1 (t) + h2 (t)) = (x(t) h1 (t)) + (x(t) h2 (t))
which is applied to parallel connection of LTI systems.
Example 2:
The input signal to an LTI system is x(t) = eat u(t) and the impulse
response of the system is h(t) = u(t) as shown in Fig. 32. Lets calculate
the response of the system to x(t) by using convolution;
y(t) =
Z
=
x( ) h(t ) d
x(t)
1
0 < a < 1
h(t)
Figure 32: The input signal and impulse response of an LTI system.
We will solve this problem step by step, so we need x( ), h( ), h( ),
and h(t ), then the product x( )h(t ) t, . Now, lets draw these
signals,
34
1. x( ) = ea u( )
2. h( ) = u( ), h( ) = u( )
3. h(t ) = u(t )
4.
(
x( )h(t =
0
t<0
ea u(t ) t 0
y(t) =
=
=
=
=
Z
0
Z t
0
x( )h(t )d
(13)
ea u(t )d
(14)
ea d
(15)
1 a t
e
0
a
1 eat
a
(16)
(17)
y(t) =
1 eat
u(t),
a
x(k)(n k)
k=
(Time-Invariance)
Also the response of this system to a shifted and weighted impulse, x(k)(n
k) is,
T [x(k)(n k)] = x(k)T [(n k)]
= x(k)h(n k)
(Homogeneity)
Then the output of the system to the sum of x(k)(n k), k (or x(n))
should be the sum of the outputs to individual inputs x(k)(n k) by the
additivity property of linear systems:
X
k=
x(k) (n k) = x(n)
x(k) h(n k) = y(n)
(18)
(Additivity)
(19)
k=
where y(n) is the response of this system to the input signal x(n). This
relation is called The Convolution Sum for discrete-time systems and it
is again denoted by ,
y(n) = x(n) h(n) =
x(k) h(n k)
(20)
k=
k=
x(k) h(n k)
x(n k) h(k)
k=
2. Associative:
x(n) [h1 (n) h2 (n)] = [x(n) h1 (n)] h2 (n)
This property is illustrated by the serial (cascade) connection of two
LTI systems shown in Fig. 35.
3. Distributive:
x(n) [h1 (n) + h2 (n)] = [x(n) h1 (n)] + [x(n) h2 (n)]
The distributive property can be applied to the parallel connection of
two LTI systems shown in Fig. 36.
Example 3:
We are given a discrete-time system with input
x(n) = n u(n),
0<<1
3. h(n k) = u(n k)
4.
x(k)h(n k) =
0
n<0
k
u(n k) n 0
y(n) =
x(k)h(n k)
k=
k=0
n
X
(21)
k u(n k)
(22)
(23)
k=0
1 n+1
, n0
1
Therefore, the total output of this system to x(n) is given by
=
y(n) =
1 n+1
1
(24)
u(n) n
X
k=0
N
1
X
k =
k =
k=0
1
1
1 N
1
y(t) =
=
x( )h(t )d
x(t )h( )d
= x(t) h(t)
and
y(n) =
=
k=
x(k)h(n k)
h(k)x(n k)
k=
= x(n) h(n)
t 6= 0.
For instance, y(t) = Kx(t) scaling system has impulse response h(t) = K(t)
(and for K = 1, it is called an identity system) which is a system without
memory. Same is true for discrete-time system y(n) = Kx(n), and h(n) =
K(n).
If a system has an impulse response h(t) or h(n) that is not zero for t 6= 0
then that system has memory.
y(n) = x(n 1) + x(n + 1)
is a system memory.
Recall that a memoryless system with K = 1 is the identity system.
y(t) = x(t) (t) =
x( )(t )d = x(t)
X
k=
39
x(k)(n k) = x(n)
Above equations are true because of the shifting property of the impulse
function.
2. Invertibility of LTI systems:
An LTI system is invertible if given the impulse response of the system,
we can obtain an inverse system h0 (t), such that
h(t) h0 (t) = (t)
which means that the equivalent of cascade of h(t) and h0 (t) is an identity
system as given in Fig. 40
x(t) h(t) = y(t)
y(t) h0 (t) = x(t) h(t) h0 (t)
= x(t)
then we need
h(t) h0 (t) = (t).
Example 4:
The delay system is defined as y(t) = x(t t0 ),
If t0 > 0, input signal is shifted to the right :delay
If t0 < 0, input signal is shifted to the left :advance
h(t) = (t t0 ).
x(t t0 ) = x(t) (t t0 )
Remark: The convolution of a signal with an impulse, is the same signal.
The convolution of a signal with an shifted impulse shifts the signal to the
position of the impulse.
The inverse of the above system is;
h0 (t) = (t + t0 )
y(t) h0 (t) = x(t t0 ) (t + t0 ) = x(t)
h(t) h0 (t) = (t t0 ) (t + t0 ) = (t)
Then, the inverse of the delay system with h(t) = (t t0 ) is the advance
system with h0 (t) = (t + t0 ), and
x(t) = y(t) (t + t0) = y(t + t0 )
40
Example 5:
The system with impulse response h(n) = u(n) is called summer or
accumulator.
n
X
y(n) =
x(k)u(n k) =
k=
x(k)
k=
y(n) =
n
X
x(k)h(n k) =
k=
n<0
h(k)x(n k)
k=0
For example h(n) = u(n) and its inverse h0 (n) = (n)(n1) are casual.
However, h(t) = (t t0 ) for t0 < 0 is a non-casual system (advance).
The output is
|y(n)| =
x(n k)h(k)
k=
|y(n)|
|x(n k)||h(k)|
k=
|y(n)| B
|h(k)| n
k=
|h(k)| <
k=
then y(n) is bounded and the system is stable. The condition for continuoustime LTI systems is
Z
|h(t)|dt <
|h(n)| =
|(n n0 )| = 1 <
|h(t)|dt =
|u(n)| =
|u(t)|dt =
x( )u(t )d =
Z t
x( )d
Z t
x(t )h( )d
u(t )h( )d
h( )d
which is the area under h(t) up to time t. Hence the inverse would be
h(t) =
d
s(t) = s0 (t)
dt
that is the impulse response is the first derivative of the step response.
Similarly of r discrete-time LTI systems
x(n) = u(n)
(25)
(26)
=
=
X
k=
n
X
u(n k)h(k)
(27)
h(k)
(28)
k=
which means that step response is the sum of the values of h(n) up to
time n. Then the inverse is a first order difference of the step response
h(n) = s(n) s(n 1).
To find the output as a function of the input, we need to solve the above
implicit equation and get explicit representation
y(t) = yp (t) + yh (t)
yh (t) is the homogeneous solution and is determined by the auxiliary conditions. It does not depend on the input. For example, y(0) = y0 . For such a
system to be linear, the output must be zero, when input is zero therefore
yh (t) must be zero which requires that the auxiliary conditions be
y(0) = y0 = 0.
If y0 6= 0 the system is not linear. Generally, a system can be represented
by a linear part (that has zero auxiliary conditions and yh (t) = 0) plus the
response to nonzero auxiliary conditions as illustrated by Fig. 41. yp (t) is
called the private solution due to the input.
Causality of LTI systems described by differential equations depends on
the auxiliary condition as well. Initial rest condition specifies that if the
input x(t) = 0 for t t0 , y(t) also is zero for t t0 . However choosing
a fixed point for auxiliary condition such as y(0) = 0 leads to non-causal
systems.
For a causal system initial rest is chosen so that y(t) = 0 when x(t) = 0
but initial rest does not specify the auxiliary condition at a fixed point in
time. A a summary, if we make the initial rest assumption, and if x(t) = 0
for t t0 , we need to solve y(t) for t > t0 using the condition y(t0 ) = 0
which is called initial condition. Initial rest also implies time-invariance.
x(t) y(t), y(t0 ) = 0 x(t T ) y(t T ),
y(t0 + T ) = 0 (initial
condition).
A general N t h-order linear constant-coefficient differential equation is
given by
N
X
ak
k=0
M
X
dk
dk
y(t)
=
b
x(t)
k
dtk
dtk
k=0
if N = 0 explicitly
y(t) =
M
1 X
dk
bk k x(t)
a0 k=0 dt
44
(29)
a) Discrete-Time LTI systems: Linear constant-coefficient difference equations are used to represent discrete-time LTI systems:
N
X
ak y(n k) =
k=1
M
X
bk x(n k)
(30)
k=1
(M
X
bk x(n k)
k=0
N
X
ak y(n k)
k=1
M
1 X
bk x(n k)
a0 k=0
h(n) =
bn
a0
0nM
otherwise
(N
X
bk x(n k)
k=0
N
X
ak y(n k)
k=1
we define
w(n) =
N
X
bk x(n k)
k=0
and
1
y(n) =
a0
w(n) +
N
X
(ak )y(n k)
k=1
N
X
ak s(n k) + x(n)
k=1
and
y(n) =
N
X
bk s(n k)
k=0
y(t) =
= e
s(t)
h( )es(t ) d
Z
h( )es d
= est H(s)
We conclude that the complex exponential est is an eigenfunction of LTI
systems where the transfer function (the Laplace transform of h(t)) H(s) is
the corresponding eigenvalue.
x(t) =
ak esk t
y(t) =
ak H(sk ) esk t
47
t,
2
= 0
T0
Our aim is to find a series representation for this signal in term of complex
sinusoids:
k (t) = ejk0 t ,
k = 0, 1, 2,
Let us use these harmonically related complex exponentials {k (t)} to
represent the periodic signal x(t). The k (t) are called the basis functions
and they all have fundamental frequency k0 that is integer multiple of 0 ,
(fundamental frequency of the signal). Thus they are periodic with Tk0 that
means they are also periodic with T0 . The Fourier basis {k (t) = ejk0 t }
form an orthogonal basis for the square summable functions space L2 (R).
Therefore, any signal with finite energy in a single period can be expressed
by the following Fourier Series Expansion:
x(t) =
ck ejk0 t
(31)
k=
x (t) = x(t) =
=
X
k=
ck ejk0 t
ck ejk0 t
(32)
replaced k with k
(33)
k=
(34)
48
ck = ck
or
proving that the Fourier series coefficients ck are complex even symmetric.
In order to determine the Fourier Series Coefficients for a given periodic signal x(t), lets follow this derivation:
The Fourier Series (FS) representation of the signal is
x(t) =
ck ejk0 t
k=
jn0 t
x(t)e
Z T0 X
dt =
k=
ck ejk0 t ejn0 t dt
ck
Z T0
k=
ej(kn)0 t dt
(35)
j(kn)0 t
Z T0
dt =
T0 k = n
0 k=
6 n
Z T0
0
= T0 (n k)
This tells us that k (t) and n (t) are orthogonal. Therefore, using this in
equation (35), we get
Z T0
0
x(t)ejn0 t dt = T0 Cn
1
T0
Z
T0
x(t)ejk0 t dt
ck ejk0 t
k=
49
1
c0 =
T0
T0
x(t)d(t)
that is the average value of x(t). In general |ck |2 , k is plotted to give the
spectral information of the signal. The value of |c1 |2 is the energy of the
fundamental harmonic at frequency 0 , the value of |c2 |2 is the energy of
the second harmonic at frequency 20 , etc.
Now, lets explore the relation between the above complex FS expansion
and the real or trigonometric FS representation. Recall that ck = ck , and
x(t) = c0 +
= c0 +
= c0 +
h
X
ck ejk0 t + ck ejk0 t
k=1
h
X
ck ejk0 t + ck ejk0 t ]
k=1
2Re ck ejk0 t
k=1
X
k=1
k=1
50
x(t) =
ck ejk0 t
k=
h( )
ck ejk0 (t ) d
k=
=
=
h( )x(t )d
ck e
k=
X
k=
jk0 t
h( )ejk0 d
ck H(k0 )ejk0 t
dk ejk0 t
k=
given as another FS representation with {dk = ck H(k0 )} as the FS coefficients. Here we define the integral
H() =
h( )ejk d
as the transfer function or frequency response of the above LTI system and
H(k0 ) is the response of the system to a sinusoid with frequency k0 .
Example 1: Obtain the FS representation for sin 0 t. Without going into
calculation, we can use the following Euler identity,
ej0 t ej0 t
2j
j0 t
x(t) = c1 e
+ c1 ej0 t
sin 0 t =
1
,
2j
c1 =
1
,
2j
51
ck = 0 k 6= 1
Example 2:
Consider the following periodic signal shown in Fig. 45 with fundamental
period T0 sec. and fundamental angular frequency 0 = 2/T0 rad/sec.
(
x() =
c0 =
1
T0
1 |t| < T1
0 T < |t| <
Z
T0
x(t)dt =
1
T0
Z T1
T1
T0
2
2T1
T0
1dt =
1
T0
Z T1
T1
ejk0 t dt =
1
1
ejk0 t TT
1
jk0 T0
2 ejk0 T1 ejk0 T0
k0 T0
2j
2
sin k0 T1
sin k0 T1 =
k0 T0
k
N
X
ck e
1
ck =
T0
jk0 t
k=N
Z
T0
x(t)ejk0 t dt
|x(t)|2 dt <
(has finite energy over one period), then the coefficients {ck } are finite. x(t)
has Fourier Series representation. For a periodic signal x(t) to have a Fourier
Series Representation, it must satisfy the Drichlet Conditions.
52
T0
|x(t)|dt <
|Ck | <
ck e
1
ck =
T0
jk0 t
k=
ck =
1
T0
T0
2
T
20
x(t)e
If we define
T0 ck = X() =
jk0 t
1
dt =
T0
x(t)ejt dt
T0
2
T0
2
x
(t)ejk0 t dt
x(t)ejk0 t dt
k0 = ,
1
0 X
X(k0 )ejk0 t =
X(k0 )ejk0 t
T
2
k= 0
k=
53
As T0 goes to , then x
(t) x(t) and 0 d, and therefore
x(t) =
X() =
1
2
X()ejt d
x(t)ejt dt
Example 3:
We calculate the Fourier Transform of a two-sided exponential signal
given in Fig. 49.
x(t) = ea|t| , a > 0
The Fourier transform is
X() =
=
=
Z 0
ea|t| ejt dt
e(aj)t dt +
Z
0
e(a+j)t dt
1
2a
1
+
= 2
a j a + j
a + 2
(t)ejt dt = 1
x(t) =
1 |t| < T1
0 |t| > T1
Z T1
= 2
T1
ejt dt
sin(T1 )
= 2T1 sinc(T1 )
54
1 || < W
0 || > W
X() =
Z W
W
sin(W t)
W
=
sinc(W t)
t
ejt d =
The signal x(t) is a sinc function in this case. Examples 5 and 6, point to
the duality property of the FT.
Remark: Fourier Transform of Periodic Signals
We can obtain the Fourier transform of a periodic signal via the Fourier
series representation of it. We explain this using the following examples:
Example 7: Unit impulse spectrum
X() = 2()
The inverse Fourier Transform of X() is,
1
x(t) =
2
2 ()ejt d = ej0t = 1
1
2
2 ( 0 )ejt d = ej0 t
x(t) =
ck ejk0 t
k=
X() =
2 ck ( k0 )
k=
x(t) = sin 0 t =
i
1 h j0 t
e
ej0 t
2j
1
[2 ( 0 ) 2 ( + 0 )]
2j
x(t) = cos 0 t =
i
1 h j0 t
e
+ ej0 t
2
1
[2 ( 0 ) + 2 ( + 0 )]
2
Figure 5
Consider the periodic impulse train of period T sec. shown in Fig. ??.
x(t) =
(t kT )
...
k=
ck =
1
T
Z T /2
T /2
(t)ejk0 t dt =
Figure
1
T
and using the result of Example 8, we get the FT of the pulse train
X() =
X
k=
2
2 ck ( k0 ) =
T
( k
k=
2
)
T
x1 (t)
X1 () and
a1 x1 (t) + a2 x2 (t) a1 X1 () + a2 X2 ()
1
a + j
1
= X ()
a j
6 X()
3. Time Shifting: If x(t) has a FT X(), then the time shifted version of
x(t),
6 X()t0 )
that is shifting the signal in time just adds a phase to its FT, the magnitude
remains the same.
4. Differentiation and Integration: The derivative of x(t) has the FT
d
x(t)
dt
x0 (t)
1
jX()ejt d
2
jX()
x( )d
1
X() + X(0)()
j
58
5. Time and Frequency Scaling: If a signal x(t) has the FT X(), then
its time-scaled version would have
x(at)
x(at)e
jt
1
1
dt =
x( )ej(/a) d =
X
|a|
|a|
6. Duality: In general
g(t) f () f (t) 2g()
Dual of differentiation in time (property 4) is
jtx(t)
d
X()
d
X()d
Rectangular pulse signal and sinc signal are Duals of each other. Let
x1 (t) be a pulse
(
x1 t =
1 |t| < T1
0 |t| > T1
2 sin(T1 )
T1
= 2T1 sinc
W
Wt
sin(Wt )
=
sinc
x2 (t) =
t
59
1 || < W
0 || > W
X2 () =
1
|x(t)| dt =
2
|X()|2 d = Ex
Z
T0
|x(t)|2 dt =
|ck |2
k=
x( ) h(t ) d
Z Z
x( )
= H()
x( ) h(t )d ejt dt
h(t )e
x( )ej d
= H()X()
60
jt
dt d
where H() is the FT of the impulse response and it is called the Frequency
Response of the LTI system.
y(t) = h(t) x(t) Y () = H()X()
H() = ejt0
H() = j
Example 14:
Given an LTI system with h(t) = eat u(t), a > 0 and input signal
x(t) = ebt u(t), b > 0, find the output using frequency methods.
X() = 1/(b + j) and H() = 1/(a + j) and then the output is
Y () = 1/(b + j)(a + j).
1
1
1
Y () =
b a a + j b + j
y(t) =
i
1 h at
e u(t) ebt u(t)
ba
Example 15:
Another LTI system with h(t) = et u(t) is given
x(t) =
+3
X
k=3
61
ck ejk2t
+3
X
1
1 + j
2ck ( 2k)
k=3
Y () = X()H() =
+3
X
k=3
+3
X
k=3
2ck
( 2k)
1 + j2k
+3
X
y(t) =
k=3
ck
ej2kt
1 + j2k
9. Modulation Property:
Assume that two signals are multiplied such that
r(t) = s(t)p(t) R() =
1
[S() P ()]
2
(t kT )
k=
r(t) = s(t)p(t) =
s(t)(t kT ) =
k=
X
k=
2 X
2
P () =
( k )
T k=
T
62
s(kT )(t kT )
1
1 X
2
S() ( k )
[S() P ()] =
2
T k=
T
R() =
1 X
2
S( k )
T k=
T
We call
2
T
2
2
1 1
21
T
T
= s as the sampling frequency.
2
= s s 21
T
is called the Nyquist sampling criteria. The original signal can be recovered from r(t) by using a low-pass filter provided that the Nyquist Criteria
is satisfied. We show in Fig. 60 the recovery of the original signal as a
combination of sinc functions.
The frequency response of LTI systems is generally presented in logarithmic (dB) scale. These plots are called Bode Diagrams.
H() =
Y ()
X()
Frequency response
|Y ()| = |H()||X()|
|H()| : Magnitude response of the system.
|Y ()| : Magnitude spectrum of the output.
|X()| : Magnitude spectrum of the input.
6
6
6
6
s(t)
Y () = 6 H() + 6 X()
63
Figure 60:
64
4. FILTERING
Frequency selective Filters are devices that allow some frequency components at the input signal to appear at the output, but eliminate other
frequencies.
Stopban
|Hlp ()| =
1 || < C
0 || > C
In Fig. 62 we give the magnitude and phase responses of an ideal lowpass filter.
The impulse response of a zero phase filter would be symmetric around
zero, but it is non-causal. So a realizable or causal filter will have an impulse
response that is symmetric around > 0 as displayed in Fig. ?? we give the
impulse response of a zero phase (but non-causal) filter, and its time-shifted
(non-zero phase) version.
Pass
Figure 64: M
An ideal high-pass filter is the complementary of the ideal low-pass filter.
The magnitude response is given by;
(
|Hhp ()| =
1 || > C
0 || < C
65
3. Band-Pass Filter:
A band pass filter is the combination of a low-, and high-pass filters. An
ideal band pass filter magnitude response given in Fig. ?? that is.
(
|Hbp ()| =
1 1 < || < 2
0 otherwise
66
x( )
1
t
t
h( )
t
t
h(-
t
t
h(t-
1
t<0
h(t-
t >=0
67
y(t)
1/a
x
x
h = h1 * h2
h1
y1
h2
=
x
h2
y2
h1
h1
x
h = h1 + h2
y1
+
h2
y2
68
x(n) =
u(n)
1
0<
<1
. . .
h(n) =u(n)
Figure 37: The input signal and impulse response of a discrete-time LTI
system.
69
x(k) =
u(k)
1
0<
<1
. . .
h(k) =u(k)
h(-k)
h(n-k)
n < 0
h(n-k)
n >= 0
70
y(n)
1/1- a
...
n
x(t)
h(t)
y(t)
h(t) * h'(t) =
x(t)
h'(t)
d(t)
x(t)
yh(t)
x(t)
y(t)
yp(t) +
x1(n)
x(n)
+
a
x(n)
z
-1
x1(n) + x2(n)
t
a x(n)
x(t)
x x(t) d(t)
-h
x(n-1)
x(n)
b0
w(n)
-1
s(n)
+
z
b0
-1
y(n)
-1
-a1
x(n)
-1
-a1
b1
x(n)
y(n)
b1
b0
y(n)
-1
-a1
b1
h(t)
...
...
t
-T0
-T1
T1
T0
ck
...
-2
...
2
-1
0 1
x(t)
...
...
t
-T0
-T1
T1
T0
x(t)
-T1
T1
~
x(t)
...
...
-T0
-T1
T1
T0
73
x(t)
1
0 < a
X(
2/a
1/a
-a
74