EECS3451 Chapter1
EECS3451 Chapter1
EECS 3451
Signals and Systems
CHAPTER 1:INTRODUCTION TO
SIGNALS (TEXTBOOK: CH. 1)
• What is a signal?
• Classification of signals
• Elementary signals
• Signal operations
1
Outline
• What is a signal?
• Classification of signals
• Elementary signals
• Signal operations
Introduction – Signals
• What is a “Signal”?
Convey information about time-varying physical
phenomena. Examples: current or voltage signal
4
4
2
Introduction – Signals (2)
• Mathematically speaking, signals are modeled as
function of one or more independent variables.
5
5
Examples: Signals
Example: electrical signal
L
Signal
v(t)
+ +
v(t) _ C R y(t)
-1 0 1 t _
6
6
3
Outline
• What is a signal?
• Classification of signals
• Elementary signals
• Signal operations
Classification of Signals
1. Continuous-time and discrete-time signals
2. Analog and digital signals
3. Periodic and aperiodic signals
4. Energy and power signals
5. Deterministic and probabilistic signals
6. Even and odd signals
8
8
4
EECE 2602 -- Signals and Systems in Continuous Time
Classification of Signals
• Continuous-time and discrete-time signals
• Analog and digital signals
• Periodic and aperiodic signals
• Energy and power signals
• Deterministic and probabilistic signals
• Even and odd signals
9
9
-1 0 1 t 0 t
-1
10
10
5
Discrete-time (DT) signals
• A discrete-time signal x(n) is a function of an
integer-valued variable, n.
• A discrete-time signal is undefined for non-integer
value of n.
x(n)
2
n
-4 -2 0 2 4 6
11
11
Classification of Signals
• Continuous-time and discrete-time signals
• Analog and digital signals
• Periodic and aperiodic signals
• Energy and power signals
• Deterministic and probabilistic signals
• Even and odd signals
12
12
6
Analog and Digital Signals
• If a signal is classified by the amplitude, it leads to
two types of signal
• Analog signal: if the amplitude changes continuously
• Digital signal: if the amplitude can only have finite
number of amplitude values.
13
13
Classification of Signals
• Continuous-time and discrete-time signals
• Analog and digital signals
• Periodic and aperiodic signals
• Energy and power signals
• Deterministic and probabilistic signals
• Even and odd signals
14
14
7
Periodic signals
• A CT signal x(t) is periodic if:
x(t ) = x(t + T0 )
• The smallest positive value of T0 that satisfies the
periodicity condition is referred to as the
fundamental period of x(t)
15
15
T0
A
0 t
-A
16
θ 16
8
Periodic signals
• A DT signal x[k] is periodic if:
17
17
Activity 1
What is the fundamental period of the following CT
signal?
18
18
9
Activity 1 Solution
Given: x(t ) = 0.5 cos(3pt )
fundamental period: 2p 2p 2
T0 = = =
w0 3p 3
19
19
Activity 2
What is the fundamental period of the following CT
signal?
ìcos(pt ) -3/ 2 £ t £ 3/ 2
x(t ) = í
î0 otherwise
20
20
10
Activity 2 Solution
Given: ìcos(pt ) -3/ 2 £ t £ 3/ 2
x(t ) = í
î0 otherwise
1
0.6
0.4
0.2
-0.2
-0.4
-0.6
-0.8
-1
-4 -3 -2 -1 0 1 2 3 4
time
T1 m
= = rational number
T2 n
11
Activity 3
What is the fundamental period of the following CT
signal?
23
23
12
Activity 3 Solution (2)
Graphical representation of x(t) in MATLAB:
x(t ) = sin (2pt ) + sin (4pt )
2 Period = 1
1.5
0.5
-0.5
-1
-1.5
-2
-2 -1.5 -1 -0.5 0 0.5 1 1.5 2
25
25
Classification of Signals
• Continuous-time and discrete-time signals
• Analog and digital signals
• Periodic and aperiodic signals
• Energy and power signals
• Deterministic and probabilistic signals
• Even and odd signals
26
26
13
Energy of a CT signal
• The energy presents in a CT signal x(t) within a
given time interval T1 < t < T2 is:
T2
ò x(t )
2
E(T1 ,T2 ) = dt
T1
ò x(t )
2
Ex = dt
-¥
27
27
Energy of a DT sequence
• The energy presents in a DT sequence x[k] within a
given time interval [N1, N2] is:
28
28
14
Power of a CT signal
• Power is defined as energy per unit time.
• The average power of a CT signal x(t) over the
interval -∞ < t < ∞ is:
T /2
1
ò x(t ) dt
2
Px =T lim ¥
T -T / 2
• For periodic signals, the average power (Px) in the
CT signal x(t) is calculated from one period of the
signal as follows: t +T
1 1 0
ò x(t )
2
Px = dt
T0 t1
Power of a DT sequence
(-∞,∞)
30
30
15
Energy and Power signals
• A signal x(t) or x[k] is called an energy signal if
the total energy Ex has a non-zero finite value,
that is, 0 < Ex < ∞
31
31
Activity 5
Consider the following CT signal x(t), calculate the
instantaneous power, the average power and total
energy in the signal. Is it a power or energy signal?
x(t)
5
-2 0 2 t
32
32
16
x(t)
Activity 5 Solution 5
1 T /2 2 1
Average power: Px = T lim
!!!" ∞ ∫
T −T /2
()
x t dt = T lim
!!!" ∞ Ex = 0
T
Energy signal – because the signal has finite energy
(Ex=100).
33
33
Activity 6
34
34
17
Activity 6 Solution
35
35
Classification of Signals
• Continuous-time and discrete-time signals
• Analog and digital signals
• Periodic and aperiodic signals
• Energy and power signals
• Deterministic and probabilistic signals
• Even and odd signals
36
36
18
Deterministic and Random Signals
• If the value of a signal can be predicted for all time
in advance without any error it is referred as a
deterministic signal.
• If the value of a signal cannot be predicted with
complete accuracy for all time it is referred as a
random signal.
• Deterministic signal can generally be expressed in
a mathematical or graphical form.
• Random signal cannot be modeled precisely.
37
37
Classification of Signals
• Continuous-time and discrete-time signals
• Analog and digital signals
• Periodic and aperiodic signals
• Energy and power signals
• Deterministic and probabilistic signals
• Even and odd signals
38
38
19
Odd and Even Signals
• A CT signal xeven(t) is said to be an even signal if :
xeven(t)
0 t
39
39
xodd(t)
0 t
40
40
20
Properties of Odd and Even Signals
xeven(t) xodd(t)
0 t 0 t
xodd(t) xodd(t)
0 t 0 t
41
41
0 t t = EVEN
0
ò x (t )dt = 0
-T
odd
21
Odd and Even Signals
• If a signal x(t) is classified in the “neither odd nor
even” category, the signal can be expressed as a
sum of even and odd signals:
x(t )
1
where 1
xe (t )
1 0.5
2 -2 -1
-0.5 0 1 2
and 1
xo (t )
1 0.5
2
0 1 2
-0.5
43
43
Activity 7
Is the CT signal in Activity 3 odd or even, or neither of
them?
44
44
22
Activity 7 Solution
Given: x(t ) = sin (2pt ) + sin (4pt )
( ) ( ) ( )
∵ x −t = sin −2π t + sin −4π t
= −sin ( 2π t ) − sin ( 4π t )
= −⎡⎣sin ( 2π t ) + sin ( 4π t )⎤⎦ = −x(t)
∴ x(t) = −x(−t)
It is an odd signal.
45
45
Outline
• What is a signal?
• Classification of signals
• Elementary signals
• Signal operations
23
Elementary signals
1. Unit step function
2. Rectangular pulse function
3. Signum function
4. Ramp function
5. Sinusoidal function
6. Sinc function
7. Exponential function
8. Unit impulse function
47
47
u(t)
1
0 t
48
48
24
Rectangular Pulse Function
• Rectangular pulse function : rec(t/τ)
1
æ t ö ìï1 t £t / 2
CT: rect ç ÷=í
è t ø ïî0 t >t / 2
-τ/2 0 τ/2 t
DT:
49
49
DT:
50
50
25
Ramp Function
• A ramp function r(t):
r(t) = tu(t)
ìt t ³ 0
CT: r (t ) = í or r (t ) = tu (t )
î0 t < 0 slope = 1
0 t
DT:
51
51
Sinc Function
• Sinc function sinc(t):
sinc(t)
sin (pw0t )
1
DT:
52
52
26
Exponential Function
• A CT complex exponential signal can be
represented by the following form:
x t = e st
()
s = σ + jω 0
• Review complex numbers
53
53
27
Review of Complex Numbers
• Magnitude of the vector or the complex number x is
given by:
r = rx2 + ry2 = x = a 2 + b 2
• The angle that the vector makes with the horizontal axis
q = tan -1 (ry rx )
is given by:
\ x = re jq Polar form of a + jb
55
Activity 8
Simply the following and express the final answer in
polar form:
5e j 2p
j (1 - j )
56
56
28
Activity 8 Solution
5e j 2 π 5(cos 2π + j sin 2π ) 5
= =
(
j 1− j ) j − ( j * j) 1+ j
5(1− j) 5(1− j)
= =
(1+ j)(1− j) 2
57
CT Exponential Function
• A complex exponential signal x(t) can be
represented by the following form:
x(t ) = e (s + jw0 )t
= est [cos(w0t ) + j sin (w0t )]
s = s + jw0 is called the complex frequency
58
58
29
n
DT Exponential sequence : α
• x ( n ) = a , a may be a real or complex
n
x(n)
0 n
When a = e jw, we obtain a complex sinusoidal sequence, i.e.
2. ò d (t )dt = 1
-¥
0 t
30
Properties of CT Impulse Function
1. Integrating a unit impulse function results in one, provided
that the limits of integration enclose the origin of the
impulse:
T
ìA for - T < t0 < T
ò-T Ad (t - t0 )dt = íî0 elsewhere
2. When an arbitrary CT function x(t) is multiplied by a shifted
impulse function, the product is given by:
x(t )d (t - t0 ) = x(t0 )d (t - t0 )
3. Multiplication of a CT function and an impulse function
produces an impulse function, which has an area equal to
the value of the CT function at the location of the impulse
¥
62
62
31
DT Unit-impulse sequence : δ(n)
1 n=0
δ (n)= {
0 otherwise
x(n)
1
n
0
Equivalent of integral
32
Activity 9
Simplify the following expressions
5 - jt
(1) d (t )
7 + t5
¥
(3) t
∫ −∞
( )
7 δ τ − 4 dτ
65
65
Activity 9 Solution
(1) Based on Property 2, we have:
5− jt 5− j0 5
7 + t5
δ t = ()
7 + 05
δ t =
7
()
δ t ()
(2) Based on Property 3, we have:
∞
∫ (t + 5)δ (t − 3) dt = t + 5 t=3
=8
−∞
(3) Based on Property 5, we have:
66
66
33
Outline
• What is a signal?
• Classification of signals
• Elementary signals
• Signal operations
Signal Operations
• Time shifting
• Time scaling
• Time inversion
34
Time Shifting: CT
• Consider a CT signal x2(t) obtained by shifting
another signal x(t) by T time units, the time-shifted
signal x2(t) is expressed as:
x2 (t ) = x(t + T )
0 t
69
69
Time Shifting: DT
• A signal y(n) is said to be a shifted version
of a signal x(n) if y(n)=x(n-n0) , n0 is an
integer. u(n)
1
n
0 1 2
u(n-2)
1
n
0 1 2
35
Time Scaling: CT
• A CT signal x(t) scaled by a factor c in the time
domain is denoted by x(ct).
• If c >1, the signal is compressed by a factor of
c.
• If 0 < c < 1, the signal is expanded.
71
71
n
-2 0 2 4 6
x(2n)
2
n
-2 0 2 4 6
36
Time Scaling: DT (Interpolation)
• Interpolation(up-sampling) is defined as
⎧ ⎛n⎞
⎪ x ⎜ ⎟ if n is a multiple of interger M
y(n) = ⎨ ⎝ M ⎠
⎪
⎩ 0 otherwise
x(n)
2
n
-2 0 2 4 6 8
x(n/2)
2
n
-2 0 2 4 6 8
Time Inversion: CT
• Time inversion (or time reversal or reflection)
operation reflects the input signal x(t) about the
Y-axis, i.e.
x2 (t) = x(−t)
74
74
37
1
Time Inversion: DT (Reversal or Folding)
• Reversal(Folding) is defined as
y(n)= x(-n)
“flipping” the signal x(n) with respect to
the index n
u(-n) u(n)
1
n
-2 -1 0
Activity 10
Consider the following CT signal x(t)
æ pö
x(t ) = 1 + sin ç pt - ÷
è 4ø
a.Sketch x(t)
b.What is the fundamental period?
76
76
38
Activity 10 Solution
• Graphical representation in MATLAB:
Period = 2
2
1.5
1
amplitude
0.5
-0.5
-1
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 1.9 2 2.1 2.2 2.3 2.4 2.5
time
æ pö
x(t ) = 1 + sin ç pt - ÷
è 4ø 77
77
Activity 11
Given the following signal, determine x(4-2t)
1.25
1
0.75
0.5
0.25
0 t
-4 -3 -2 -1 0 1 2 3 4
78
78
39
1.25
Activity 11 Solution 1
0.75
0.5
0.25
0 t
-4 -3 -2 -1 0 1 2 3 4
Activity 12
Given the sequence :
make a sketch of
a. y(n) = x(3n)
b. y(n) = x(-15-3n)
40
Activity 12 Solution (a)
y(n) = x(3n) → time scale (decimation)
y(n) = x(3n)
y(n) = x(−3n)
41
Activity 12 Solution (b)
y(n) = x(−15 − 3n) = x [−3(n + 5)] → time revasal+shift
y(n) = x(−3n)
42