1
1
1
1
Overview
– Electrical:
– Mechanical:
– Environmental:
– Economic:
– Social:
– Audio/Visual:
– Computing:
2
What is a signal?
3
Continuous-time Signals
4
Discrete-time Signals
5
Systems
Continuous-time system
Discrete-time system
Hybrid system
Dynamical system: any system with an internal state and a rule govering
how the state evolves in time
Example: a car with input being acceleration a(t) and output being velocity
v(t). The evolution of speed is given by
dv
= a(t).
dt
The output is measured by the speedometer sensor. This is an example of
a continuous-time dynamical system.
The field of signal processing studies how to extract desirable features from
given signals, often via design of filters.
6
Outline of this subject
7
Basic Notations
Notations:
a. Z : the set of integers . . . , 2, 1, 0, 1, 2, . . .
b. R : the set of real numbers
c. C := {(a + bj) | a, b 2 R} the set of complex numbers
A complex number can be identified as a vector on the R2 plane.
p
Notation j := 1
x = a + bj is Cartesian coordinate representation
p
x = rej✓ , where r = a2 + b2 and ✓ =?
is the polar coordinate representation.
8
Transformation of Signals: Time Shift
For t0 > 0 (n0 > 0), it is called delay and for t0 < 0 (n0 < 0) it is called
advance.
x(t)
2
t
3 2 1 1 2 3
9
Transformation of Signals: Time Reversal
x(t)
2
t
3 2 1 1 2 3
10
Transformation of CT Signals: Time Scaling
x(t)
2
t
3 2 1 1 2 3
11
Time Scaling: Discrete Time
12
Linear-Time Transformation
If you scale first, and then do the delay, what do you obtain?
x(t)
2
t
3 2 1 1 2 3
13
Signal Categories: Even/Odd Signals
10
2 1 1 2
2 1 1 2
5
14
Examples of Even/Odd Signals
x[n]
10
n
3 2 1 1 2 3
10
20
30
n3 + ( n2 1).
But x[n] = |{z}
| {z }
xodd [n] xeven [n]
Can we do this for any signal, i.e. write down any signal as x(t) = xeven (t)+
xodd (t)?
Answer: yes!
15
Periodic and Aperiodic Signals
Continuous Time: x(t) is periodic with period T > 0 if x(t + T ) = x(t) for
all time t.
Fundamental period and frequency:
– smallest T > 0 that satisfies this is called the fundamental period
2⇡
– for the fundamental period T , !0 = T is called the fundamental fre-
quency.
Discrete Time: x[n] is periodic with period N > 0 if x[n + N ] = x[n] for
all integer n.
Fundamental period and frequency:
– smallest N > 0 that satisfies this is called the fundamental period
2⇡
– for the fundamental period N0 , !0 = N0 is called the fundamental fre-
quency.
If a signal is not periodic, we call it an aperiodic signal.
Examples:
16
Periodic and Aperiodic Signals
Clicker Question: What can we say about the periodicity of the following signals:
✓ 2◆
⇡t
x(t) = cos ,
8
✓ 2◆
⇡n
x[n] = cos .
8
a. x(t) is periodic, but x[n] is aperiodic.
b. x(t) is aperiodic, and x[n] is aperiodic.
c. x(t) is aperiodic, but x[n] is periodic.
d. x(t) is periodic, but x[n] is periodic.
1
1
0.5
0.5
2 4 6 8 10
10 5 5 10 0.5
0.5
1
17
Energy and Power of a Signal
v(t) R
R t2
Energy: power consumption over time = t1 p(t)dt
The above definitions may not always correspond to the physical notion of
energy or power, rather represent the size of the signal.
18
Total Energy of a Signal
19
Discrete-Time: Unit Step
⇢
0 n<0
Discrete-time case: u[n] =
1 n 0
1.5
0.5
n
5 5
P1
How does k=0 u[n k] look like?
20
Discrete-Time: Unit Impulse
1.5
0.5
n
2 2
P1
Show that u[n] = k=0 [n k].
21
Sampling Property of [n]
Sampling Property
Special case sampling property: When k = 0, we have x[n] [n] = x[0] [n]!
22
Shifting and Representation Properties of [n]
23
Continuous-Time: Unit Step
⇢
0 t<0
Continuous-time case: u(t) =
1 t 0
1.5
0.5
n
5 5
P1
Example: Plot x(t) = k=0 u(t k).
24
Continuous Unit Impulse: Mathematical formulation
t
4 2 0 2 4
25
Unit-impulse: really, what is it?
⇢ 1
if t 2 [0, ]
Define (t) =
0 else.
1
0
0
26
Sampling Property of (t)
x(t) (t ⌧ ) = x(⌧ ) (t ⌧ ).
Proof.
First: (t ⌧ ) = 0 whenever t 6= ⌧ . Therefore,
(
+1, t = ⌧
x(t) (t ⌧ ) =
0, t 6= ⌧.
27
Properties of (t)
28
Example
Rt
Example 1: Plot x(t) = ( (t 1) + (t + 1))t2 and z(t) = 1 x(⌧ )d⌧ .
Rt d
Example 2: Show that u(t) = 1 (⌧ )d⌧ (or, equivalently, dt u(t) = (t)).
29
Properties of (t)
Shifting Property:
Z 1
x(t) (t ⌧ )dt = x(⌧ ).
1
Representation Property:
Z 1
x(t) = x(⌧ ) (t ⌧ )d⌧,
1
x(⌧ ) (t ⌧ ) = x(t) (t ⌧ ).
30
Special Signals: Complex Exponential Signals
20
n
2 2
20
31
Special Signals: Exponential Signals
10
t
2 1 1 2
32
Exponential and Sinusoidal Signals
1
0.5
n
2 1 1 2
0.5
1
⇡
Figure 5: Plot Re[e(5t+ 3 )j ]
33
Sinusoids and Harmonics
k (t) = ejk!0 t , k 2 Z.
2⇡
All these signals have the same fundamental period T0 = !0 .
34
Special Signals: Discrete-Time Exponential Signals
where z = e .
30 30
20 20
10 10
n n
2 2 2 2
35
Discrete-Time Periodic Exponential Signals
x[n + N ] = x[n]
)Cej⌦0 (n+N ) = Cej⌦0 n ej⌦0 N = Cej⌦0 n
)ej⌦0 N = 1.
In contrast, continuous time complex exponential signals were period for any
⌦0 6= 0.
2⇡ 3⇡
Example: Determine the fundamental period of the signal x[n] = e 3 n +e 4 n .
36
Discrete-Time Periodic Exponential Signals
That is, the signal with frequency ⌦0 + 2⇡ is the same signal with frequency
⌦0 , and has the same period.
Thus, all unique periodic exponential signals have periods confined to the
region [0, 2⇡) or [ ⇡, ⇡).
37