Chapter 1
Chapter 1
R
+
Vs I
i C Vc
-
RC circuit
3
What is Signal?
Example 2 : Closing value of the stock exchange Example 3:Image as a function of x-y coordinates
index as a function of days (e.g. 256 X 256 pixel image)
Index
M T W T F S S
Fig. Stock exchange
4
Continuous-Time vs. Discrete Time
5
Continuous-Time vs. Discrete Time
6
Continuous-Time vs. Discrete Time
Graphically,
x[n]
x(t )
... x[−3] x[2] ...
x[−2] x[1]
x[−1] x[0]
0 t ... -3 -2 -1 0 1 2 3 4 ... n
(Fig.1.7 Oppenheim)
The signal values may well also be complex numbers (e.g. Phasor of the
capacitor voltage in Example 1 when the input is sinusoidal and R is time
varying)
7
Signal Energy and Power
∫
2
Total energy of a CT signal x(t ) over t1 ≤ t ≤ t 2 is x(t ) dt
t1
t2
1
∫
2
The time average of total energy is x (t ) dt and referred to as
(t2 − t1 ) t1
average power of x(t ) over t1 ≤ t ≤ t 2
n2
Similarly, total energy of a DT signal x[n] over n1 ≤ n ≤ n2 is ∑ x[n]
2
n1
n2
1
∑
2
x[n]
(n2 − n1 + 1) n1
8
Signal Energy and Power
For infinite time intervals:
Energy: accumulation of absolute of the signal
∆ T ∞
E∞ = lim ∫ x(t ) dt = ∫
2 2
x(t ) dt Total energy in CT signal
T →∞ −T −∞
∆ N ∞
= = ∑ x[n] ∑
2 2
E∞ lim x[ n] Total energy in DT signal
T →∞ n = − N n = −∞
In order to define the power over infinite intervals we need to take limit of
the average:
∆ T
1 E∞ Note: Signals with E < ∞
T → ∞ 2T ∫
P∞ = lim =
2 ∞
x (t ) dt lim
T → ∞ 2T have P = 0
−T ∞
∆ 1 N
E∞
P∞ = lim ∑ =
2
x[ n ] lim
N →∞ 2 N + 1 N →∞ 2 N + 1
n=− N
9
Signal Energy and Power
10
Transformation of
Independent Variable
Sometimes we need to change the independent variable
axis for teoretical analysis or for just practical purposes
(both in CT and DT signals)
11
Examples of Transformations
x[n]
Time shift
... ... n
x[n-n0]
........ ... n
n0
12
Examples of Transformations
x(t)
Time shift
x(t-t0)
t
t0
13
Examples of Transformations
x(t)
Time reversal
x(-t)
14
Examples of Transformations
Time scaling
x(t)
x(2t)
compressed!
x(t/2)
stretched!
t
15
Examples of Transformations
16
Examples of Transformations
t
-1 0 1
x((3/2)t+1)
1
t
-2/3 0 2/3
17
Periodic Signals
− 2T −T 0 2T
T
19
Even and Odd Signals
x(t) x(t)
even odd
t t
OD{x(t )} =
1
[x(t ) − x(−t )]
2
20
Exponential and Sinusoidal
Signals
Occur frequently and serve as building blocks to construct many
other signals
CT Complex Exponential:
x(t ) = Ce at
C t C
t
21
Exponential and Sinusoidal
Signals
Periodic Complex Exponential (C real, a purely imaginary)
x(t ) = e jw0t
jw0 ( t +T ) 2πn
x(t ) = e jw0t
=e =e jw0t
.e jw0T
T= n∈ Z +
ω0
for periodicity =1
2π
The fundamental period is T0 =
ω0
Thus, the signals ejω0t and e-jω0t have the same fundamental
period
22
Exponential and Sinusoidal
Signals
By using the Euler’s relations:
e jθ = cos θ + j sin θ
e − jθ = cos θ − j sin θ
A cos(ω0t + φ ) = e
2
(
A j (ω0t +φ ) − j (ω0t +φ )
+e ) (
A jφ jω 0 t
= e e + e − jφ e − jω 0 t
2
)
A sin(ω0t + φ ) =
2j
e (
A j (ω0t +φ ) − j (ω0t +φ )
−e =
2j
) (
A jφ jω 0 t
e e − e − jφ e − jω 0 t )
Sinusoidals in terms of complex exponentials
23
Exponential and Sinusoidal
Signals
Alternatively,
Acos(ω0t + φ ) = ARe(e j (ω t +φ ) ) 0
Asin(ω0t + φ ) = AIm(e j (ω t +φ ) ) 0
2π
T0 =
x (t ) ω0
CT sinusoidal signal
A cos φ
A cos(ω0t + φ )
t
x(t ) = A cos(ω0t + θ )
24
Exponential and Sinusoidal
Signals
Complex periodic exponential and sinusoidal signals are of infinite
total energy but finite average power
T +T0 T +T0
∫ dt = ∫ 1 ⋅ dt =(T + T0 ) − T = T0
jω 0 t 2
E period = e
T T
1
Pperiod = E period = 1
(T + T0 ) − T
−T
25
Harmonically Related Complex
Exponentials
Set of periodic exponentials with fundamental
frequencies that are multiplies of a single
positive frequency ω0
k = 0 ⇒ xk (t ) is a constant
k ≠ 0 ⇒ xk (t ) is periodic with fundamental frequency k ω0
2π T0 2π
and fundamental period = , where T0 =
k ω0 k ω0
26
Harmonically Related
Complex Exponentials
kth harmonic xk(t) is still periodic with T0 as well
Harmonic (from music): tones resulting from
variations in acoustic pressures that are integer
multiples of a fundamental frequency
Used to build very rich class of periodic signals
27
General Complex Exponential
Signals
Here, C and a are general complex numbers
(Real and imaginary parts) Growing and damping sinusoids for r>0 and r<0
x(t )
t, r > 0 t, r < 0
x(t ) = Ce rt cos(ω0t + θ )
envelope 28
DT Complex Exponential and
Sinusoidal Signals
α >1
General complex exp signals
α <1
Real and imaginary parts of DT general complex exp are
sinusoidals (growing α > 1, and decaying α < 1)
30
Periodicity Properties of DT Signals
=1
Result:
31
Periodicity Properties of DT Signals
32
Periodicity Properties of DT Signals
33
Periodicity Properties of DT Signals
34
Periodicity Properties of DT Signals
Ex am ples
35
Periodicity Properties of DT Signals
Ex am ples
OBSERVATION:
With no common factors between N and m, N in (***) is the
fundamental period of the signal
Hence, if we take common factors out
ω0 1
= →N =6
2π 6
But, if (
x(t ) = cos 8πt
31
) and (
x[n] = cos 8πn
31
)
x(t) is periodic with 31/4.
ω0 4
In DT there can be no fractional periods, for x[n] we have =
2π 31
then N=31.
Study Fig.1.27 page 27, Table 1.1 in Opp. Example 1.6 as well
37
Harmonically Related Complex
Exponentials (Discrete Tim e)
Set of periodic exponentials with a common period
N
2π
Signals at frequencies multiples of
N
(from ω0N=2πm)
2π
jk n
φk [ n ] = e N
for k = 0,1,2,...
39
Unit Impulse and Unit Step
Functions
Basic signals used to construct and represent other signals
0, n ≠ 0 δ[n]
DT unit impulse: δ [ n] = Unit impulse (unit sample)
1, n = 0 - - - - - -
n
u[n]
0, n < 0
DT unit step: u[ n] =
1, n ≥ 0 - - - - - -
n
41
Unit Impulse and Unit Step
Functions (Continuous-Time)
δ(t)
CT unit impulse is
CT impulse: du (t ) 1
δ (t ) = t the 1st derivative of
dt 0 the unit sample
t
CT unit step is the running integral
u (t ) = ∫ δ (τ )dτ
of the unit impulse
−∞
42
Continuous-Time Impulse
δ ∆ (t ) δ (t )
1/∆
1
t t
0 ∆ 0
43
Continuous-Time Impulse
REMARKS:
Signal of a unit area
∫ ϕ (τ )δ (τ )dτ
t1
=ϕ (0) for t1 < 0 < t 2
44
CT and DT Systems
W hat is a system ?
x[n] DT y[n]
System
x(t) CT y(t)
System
45
CT and DT Systems
Ex am ples
Vs I C
+
V
dvc (t ) 1
+ vc (t ) =
1
vs (t )
i c
dt RC RC
-
vc(t): output, vs(t): input
RC circuit
In DT, we have difference equations
Consider a bank account with %1 monthly interest rate
added on: y[n] = 1.01 y[n − 1] + x[n]
y[n]: output: account balance at the end of each month
x[n]: input: net deposit (deposits-withdrawals)
46
Interconnection of Systems
Series (or cascade) Connection: y(t) = H2( H1( x(t) ) )
x(t) System 1 System 2 y(t)
H1 H2
47
Interconnection of Systems
System 2
H2
49
System Properties
I nvertibility
n t
y (t ) = 2 x(t + 4) Non-causal
51
System Properties
Stability
52
System Properties
Tim e-I nvariance
Examples:
y[n] = 2 x[n] + 3
y (t ) = x (t )
2 y[n] = Re{x[n]}
x1[n] = 2, x2 [n] = 3
x1[n] = r[n] + js[n] → y1[n] = r[n] x1[n] → y1[n] = 2.2 + 3 = 7
x2 [n] = ax1[n] = j (r[n] + js[n]) for a = j x2 [n] → y2 [n] = 2.3 + 3 = 9
nonlinear
→ x2 [n] = − s[n] + jr[n]
x1[n] + x2 [n] = 2 + 3 = 5
x2 [n] → y2 [n] = − s[n] ≠ ay1[n]
x1[n] + x2 [n] → y1+ 2 [n] = 2.5 + 3 = 13
y1[n] + y2 [n] = 7 + 9 = 16 ≠ y1+ 2 [n]
nonlinear
nonlinear
y[n] = 2 x[n − 1]
linear
55
Superposition in LTI Systems
56
Superposition in LTI Systems
Exercise: Given response y(t) of an LTI system to the input signal x(t) below,
find response of that system to the input signals x1(t) and x2(t) shown below.
x(t) y(t)
2
1
t t
1 -1 1
x1(t) x2(t) 4
2
2
1 3 t
t
-1
-1/2 1/2 1
57