Professional Documents
Culture Documents
Contact information
Instructor:
John Lam
johnlam@cse.yorku.ca
Office hours:
Grading
10 marked assignments
4 labs in total
3 in-class quizzes
Midterm test
(20%)
Final exam
(40%)
Labs begin next Monday (Jan 11) and Friday (Jan 15)
Course Overview
Introduction
Signal representations
Applications
Course Schedule
Week 1 3:
LAB1
Week 4 6:
LAB2
Week 7 8:
LAB3
Week 9 11:
LAB4
Week 12:
Introduction Signals
What is a Signal?
Convey information about time-varying physical phenomena.
Example in electrical engineering: current or voltage signal
Mathematically speaking, signals are modeled as function of one or more
independent variables. Examples of independent variables used to represent
signals are time, frequency.
Introduction Systems
What is a System?
Mathematically speaking, a system is defined as an entity that processes a set
of signals and produces another set of signals
Signal
System
Signal
System
10
10
11
11
Types of CT signals
A signal is usually described based on the following properties:
1. Periodic or aperiodic
2. Even or odd
3. Signal operations: time-shifted or time-scaled
4. Combination of elementary signals
5. Energy and power signal
6. Complex signals
12
12
Types of CT signals
A signal is usually described based on the following properties:
1. Periodic or aperiodic
2. Even or odd
3. Signal operations: time-shifted or time-scaled
4. Combination of elementary signals
5. Energy or power signal
6. Complex signals
13
13
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)
14
14
Periodic signals
A typical example of a periodic signal is a sinusoidal function represented by:
x t A sin 2f 0t
A = amplitude
f0 = fundamental frequency [Hertz]
= phase shift [radians]
2f0 = fundamental angular frequency (0) [radians/sec]
T0 = 1/ f0 = fundamental period [sec]
15
15
Periodic signals
A typical example of a periodic signal is a sinusoidal function represented by:
x t A sin 2f 0t
0 = 2f0 = fundamental angular frequency [radians/sec]
T0 = 1/ f0 = fundamental period [sec]
The fundamental period of a sinusoidal function is also given by: T0
16
2
0
16
Periodic signals
Example: What is the fundamental period of the following CT signal:
x t 0.5 cos 3t
fundamental period:
2 2 2
T0
0 3 3
17
17
Periodic signals
Example: What is the fundamental period of the following CT signal:
cos t
x t
0
This is NOT a periodic signal.
3/ 2 t 3/ 2
otherwise
1
0.8
0.6
0.4
0.2
0
-0.2
-0.4
-0.6
-0.8
-1
-4
-3
-2
-1
0
time
18
18
Periodic signals
Example: What is the fundamental period of the following CT signal:
x t sin 2t sin 4t
If we let :
x1 t sin 2t
x2 t sin 4t
Fundamental angular frequency of x1(t) is: 2 rad/s
Fundamental angular frequency of x2(t) is: 4 rad/s
The angular frequency of x2(t) is 2 times the angular frequency of x1(t). We
called x2(t) the 2nd harmonic of x1(t)
In general, a signal xm(t) with an angular frequency that is m times the
angular frequency of of x(t). We called xm(t) the mth harmonic of x(t)
19
19
g t ax1 t bx2 t
T1 m
rational
T2 n
number
The fundamental period of g(t) is given by nT1 = mT2 provided that the values
of m and n are chosen such that the greatest common divisor between m and
n is 1.
20
20
x t sin 2t sin 4t
If we let :
x1 t sin 2t
x2 t sin 4t
So:
T1
2
T2
T1 2 2 1
T2 2 4 1 2
21
21
x t sin 2t sin 4t
Period = 1
2
1.5
1
0.5
0
-0.5
-1
-1.5
-2
-2
-1.5
-1
-0.5
0.5
1.5
22
22
Types of CT signals
A signal is usually described based on the following properties:
1. Periodic or aperiodic
2. Even or odd
3. Signal operations: time-shifted or time-scaled
4. Combination of elementary signals
5. Energy or power signal
6. Complex signals
23
23
xeven t xeven t
24
24
xodd t xodd t
25
25
26
26
x t dt 0
odd
x t dt 2 x t dt
even
even
27
27
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 xeven t xodd t
where
and
xeven t x t x t
2
1
xodd t x t x t
2
28
28
Periodic signals
Example: Is the previous example CT signal odd or even, or neither of them?
x t sin 2t sin 4t
y t sin 2t cos 4t 1
29
29
Types of CT signals
A signal is usually described based on the following properties:
1. Periodic or aperiodic
2. Even or odd
3. Signal operations: time-shifted or time-scaled
4. Combination of elementary signals
5. Energy or power signal
6. Complex signals
30
30
Signal operations
Time shifting:
Consider a CT signal x2(t) obtained by shifting another signal x(t) by T time units,
x2 t x t T
31
31
Signal operations
Time scaling:
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.
32
32
Signal operations
Example: Consider the following CT signal x(t)
x t 1 sin t
4
a. Sketch x(t)
b. What is the fundamental period?
33
33
Signal operations
Graphical representation in MATLAB:
Period = 2
2
1.5
amplitude
0.5
-0.5
-1
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
1.1
1.2
1.3
time
1.4
1.5
x t 1 sin t
4
1.6
1.7
1.8
1.9
2.1
2.2
2.3
2.4
2.5
34
34
Types of CT signals
A signal is usually described based on the following properties:
1. Periodic or aperiodic
2. Even or odd
3. Signal operations: time-shifted or time-scaled
4. Combination of elementary signals
5. Energy or power signal
6. Complex signals
35
35
Elementary signals
Elementary signals are used frequently to represent more complicated signals.
Examples of these signals are:
1) Unit-step function
2) Rectangular function
3) Ramp function
4) Signum (or sign) function
5) Sinc function
36
36
Elementary signals
Unit step function u(t):
1
u t
0
t0
t0
37
37
Elementary signals
Rectangular pulse function rect(t/):
t 1
rect
0
t / 2
t / 2
38
38
Elementary signals
Signum or sign function sgn(t):
1 t0
sgn t
0 t0
1 t0
39
39
Elementary signals
A ramp function r(t):
t t0
r t
0 t0
A ramp function can be expressed as a function of the unit step function u(t):
r t tu t
40
40
Elementary signals
Sinc function sinc(t):
sin 0t
sin c 0t
0t
41
41
Elementary signals
Example: Consider the following CT signal x(t), determine and plot the timeshifted version of x(t - 1), is this a periodic signal?
x t e t u t
42
42
Elementary signals
Example: Sketch the following CT signal x(t)
x t 2 u sin 2t
43
43
Types of CT signals
A signal is usually described based on the following properties:
1. Periodic or aperiodic
2. Even or odd
3. Signal operations: time-shifted or time-scaled
4. Combination of elementary signals
5. Energy and power signals
6. Complex signals
44
44
pinst t0 x 2 t0
45
45
Energy of a CT signal
Recall that energy is related to the instantaneous power pinst(t), where W =
energy:
dW
pinst t
dt
The energy present in a CT signal x(t) within a given time interval T1 < t < T2 is:
E(T1 ,T2 )
T2
x t
dt
T1
Ex
x t
dt
46
46
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
2
Px T lim
x t dt
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:
1
Px
T0
t1 T0
x t
dt
t1
47
48
48
49
49
50
50
cos t
x t
0
3/ 2 t 3/ 2
otherwise
51
51
t 0,
2.
t0
Area of (t) = 1
t dt 1
The unit impulse function (t) is an example of an even function, i.e. (t) = (-t)
52
52
A
T A t t0 dt 0
T
T t0 T
for
elsewhere
x t t t 0 x t 0 t t 0
Multiplication of a CT function and produces an impulse function, which has
an area equal to the value of the CT function at the location of the impulse
x t t t dt x t
0
53
53
du
t
dt
4. The unit step function is obtained by integrating the unit impulse function:
t
u t d
54
54
t 5 t 3 dt
5 jt
t dt
5
7t
What is y(t) if:
y t 7 4 d
t
55
55
ry
rx
rx r cos
ry r sin
56
56
r rx2 ry2 x a 2 b 2
The angle that the vector makes with the horizontal axis is given by:
tan 1 ry rx
e j cos j sin
x re j
Polar form of a + jb
57
57
5e j 2
j 1 j
2 e 1 j
58
58