Professional Documents
Culture Documents
EEE221 Lec1 PDF
EEE221 Lec1 PDF
EEE221 Lec1 PDF
EEE 221
Syed Athar Bin Amir
North South University
15 March 2019 2
What is a Signal?
• A Signal is a set of information, or data
• In terms of Math
• a Signal is a function that changes with respect to one or more
independent variable.
• y=f(t), y=(x1,x2) etc
• For this course, we will deal with signals that are
functions of continuous time t and discrete time n
15 March 2019 3
Signal x
0
• Example of a 1D
-0.2
signal.
-0.4
-0.6
-0.8
-1
0 1 2 3 4 5 6 7 8
Time in seconds
15 March 2019 4
What is a System?
• A System takes in an input signal, processes and modifies it, and produces
an output signal.
• Think of it like a black box – an input signal goes in on one end, and an output
comes out on the other.
• In mathematical terms Systems are functions as well
• In general, a system transforms input signals into output signals
Note that…
• The Signals and Systems approach has broad application – any time/space
dependent set of measurable information can be characterized as a signal
• Signals can be electrical, mechanical, optical, acoustic, biological, financial etc
• The representation does not depend upon the physical medium in Signals and
Systems – it instead focuses on the flow on information
15 March 2019 6
−16
= 16 ∗ −1
= 4 ∗ ±j
𝑟= 𝑥2 + 𝑦2
𝑦
𝜃= 𝑡𝑎𝑛−1 ( )
𝑥
𝑧 = 𝑥 + 𝑗𝑦
= 𝑟 cos 𝜃 + 𝑟𝑗 sin 𝜃
= 𝑟(cos 𝜃 + 𝑗 sin 𝜃 )
15 March 2019 Background Math review 15
Euler’s formula
𝑒 𝑗𝜃 = cos 𝜃 + 𝑗 sin 𝜃
𝑧 = 𝑟𝑒 𝑗𝜃
15 March 2019 Background Math review 16
𝑧 =𝑟
∠𝑧 = 𝜃
15 March 2019 Background Math review 17
Complex Conjugate
• A complex conjugate is a
number that is the mirror
image of another
complex number with
respect to the x-axis
• 𝑧 ∗ = 𝑥 − 𝑗𝑦 is a complex
conjugate of z = 𝑥 + 𝑗𝑦
• 𝑧𝑧 ∗ = 𝑥 2 + 𝑦 2
15 March 2019 Trigonometry 18
Trigonometry
• Consider the equation:
𝑓 𝑡 = 𝐶 cos(2𝜋𝐹0 𝑡 + 𝜃)
• Cosine is a periodic signal it repeats itself!
• If we consider
𝜑 = 2𝜋𝐹0 𝑡 + 𝜃
The cosine will repeat itself at every 2𝜋 change in 𝜑
Radian Frequency 𝜔0
• In this equation:
𝑓 𝑡 = 𝐶 cos(2𝜋𝐹0 𝑡 + 𝜃)
• 𝐹0 Frequency of the sinusoid (unit: Hz)
• 𝑇0 = 1/𝐹0 Period of the sinusoid
• 𝐶 Amplitude of the sinusoid
• 𝜃 Phase of the sinusoid
𝜔0 = 2𝜋𝐹0
15 March 2019 Trigonometry 20
Addition of Sinusoids
• Two sinusoids with the same frequency can be added
together:
𝑒 𝑗𝜑 − 𝑒 −𝑗𝜑 = 2𝑗 sin 𝜑
𝑒 𝑗𝜑 − 𝑒 −𝑗𝜑
sin 𝜑 =
2𝑗
SIGNAL CLASSIFICATION
15 March 2019 Classification of Signals 24
Analog vs Digital
• Instead of the x-axis (time)
variable being discretized, it is
the y-axis values that are
discretized
• The amplitude of analog signals
can take any value – digital
signals can only take values at
certain levels
• Example: A song performed at a
concert is analog – but an mp3
file made from that song is
digital
15 March 2019 Classification of Signals 26
0.8
0.4
signal (x)
name suggests. signal 0
-0.2
-0.6
following condition: -1
0 5 10 15 20 25 30 35 40 45 50
time (t)
f(t) = f(t+T) 50
•
45
The smallest value of T that 40
aperiodic signal x
Aperiodic 30
25
15
10
0
0 5 10 15 20 25 30 35 40 45 50
time (t)
15 March 2019 Classification of Signals 27
Deterministic vs Random
• A Deterministic signal can be directly expressed in the form of a function. We
can describe these signals directly.
• A Random/Stochastic signal doesn’t have values that can be determined
directly – but we can know them in terms of probability.
• This course will almost entirely involve deterministic signals – so no need to
be nervous
ENERGY AND POWER
15 March 2019 Energy and Power 29
Signal Energy
• The Energy of a signal 𝑓(𝑡) is defined as the area under
𝑓 2 (𝑡)
∞
𝐸𝑓 = 𝑓 2 (𝑡) 𝑑𝑡
−∞
Generalized to a complex signal, we can get Energy as:
∞
𝐸𝑓 = 𝑓(𝑡) 2 𝑑𝑡
−∞
Signal Power
• Sometimes, the amplitude of 𝑓 𝑡 does not go to 0 as we
approach infinity in time. Those signals have infinite
energy.
• The Power of a signal 𝑓(𝑡) is defined as
𝑇
1 2
𝑃𝑓 = lim 𝑓 2 (𝑡) 𝑑𝑡
𝑇→∞ 𝑇 −𝑇
2
• Generalized to a complex signal, we can get Power as:
𝑇
1 2
𝑃𝑓 = lim 𝑓(𝑡) 2 𝑑𝑡
𝑇→∞ 𝑇 −𝑇 2
Amplitude Scaling
• The scaled continuous-time signal ax(t) is x(t) multiplied by the constant a
Signal operations
• Other than the general mathematical operations (addition,
subtraction etc.) there are three useful operations for us to
learn.
• They are:
1. Time Shifting
2. Time Scaling
3. Time Inversion (Time Reversal)
15 March 2019 Signal Operations 35
Time Shifting
• 𝑓 𝑡 ± 𝑇 is a time shifted version
of the function 𝑓 𝑡
• In physical terms, it’s a
delayed/advanced version of the same
signal
• 𝑓 𝑡 + 𝑇 is a negative shift. This
means the function is shifted to the
left, or to the past, on the graph.
• 𝑓 𝑡 − 𝑇 is a positive shift. This
means the function is shifted to the
right, or to the future, on the
graph.
15 March 2019 Signal Operations 36
Time Scaling
• The compression/expansion of a signal in
time is time scaling.
Time Inversion
• Time Inversion involves
flipping the function 𝑓 𝑡
about the y-axis.
• To time-invert a signal, simply
replace 𝑓 𝑡 with 𝑓 −𝑡
• The part of the signal on the
positive x-axis will now be on
the negative side, and vice
versa.
• Note: You will need this
property A LOT when we start
covering convolution!
15 March 2019 Signal Operations 38
Exercise
• You are given a function 𝑓 𝑡 = cos(𝑡). Make a rough
sketch of the following:
1. 𝑓 𝑡 − 3
2. 𝑓 𝑡 + 1
3. 𝑓 2𝑡
4. 𝑓 𝑡/2
5. 𝑓 −𝑡
EVEN AND ODD FUNCTIONS
15 March 2019 Even and Odd 40
• Exercise:
Find the even and odd components of the function 𝑓 𝑡 = 𝑒 𝑗𝜔𝑡 using the
formula above.
USEFUL SIGNAL MODELS
15 March 2019 Useful Signal Models 44
• Think of it as a SWITCH
• At t>=0, u(t) can turn a signal ON and vice versa
15 March 2019 Useful Signal Models 45
𝑒 −𝑡 , 𝑡≥0
𝑥 𝑡 =
0, 𝑡<0
𝑥 𝑡 = 𝑢(𝑡)𝑒 −𝑡
15 March 2019 Useful Signal Models 46
0, 𝑡≥1
𝑥 𝑡 = 1, 0≤𝑡<1
0, 𝑡<0
a) 𝑓 𝑡 = 𝑢 𝑡 − 3 − 𝑢 𝑡 − 7
b) 𝑓 𝑡 = 𝑢 𝑡 − 1 − 𝑢 𝑡 + 6
c) 𝑓 𝑡 = 𝑡 2 𝑢 𝑡 − 𝑢 𝑡 − 3
15 March 2019 Useful Signal Models 48
𝛿 𝑡 =0 𝑓𝑜𝑟 𝑡 ≠ 0
∞
𝛿 𝑡 𝑑𝑡 = 1
−∞
15 March 2019 Useful Signal Models 49
Impulse Function
• The impulse function 𝛿 𝑡 is an idealization of a signal that:
• Is very large near 𝑡 = 0
• Is very small away from 𝑡 = 0
• Has an integral value of 1.
• 𝜺 is very small
15 March 2019 Useful Signal Models 50
Impulse Function
• In Signals courses (and elsewhere), we plot the impulse function with a solid
arrow.
15 March 2019 Useful Signal Models 51
∞
−∞
𝑓 𝑡 𝛿 𝑡 𝑑𝑡 = 𝑓(0)
SIFTING PROPERTY
• Also called the sampling property
• For any function 𝑓 continuous at 𝑡 = 𝑇,
∞
𝑓(𝑡)𝛿(𝑡 − 𝑇) 𝑑𝑡 = 𝑓(𝑇)
−∞
Scaled Impulses
• 𝛼𝛿(𝑡) is an impulse at time 0, with magnitude of 𝛼
We have,
∞
𝛼𝛿 𝑡 𝑓(𝑡) 𝑑𝑡 = 𝛼𝑓(0)
−∞
What’s a System…again?
• A system processes, modifies, and transforms an
input signal 𝑥(𝑡) into an output signal 𝑦(𝑡).
• In terms of math?
• A system is a function that maps an input signal into an output
signal.
15 March 2019 Classification of systems 57
x(t) y(t)
S
Interconnection of Systems
• We can interconnect systems together to form new
systems:
• They can be in cascade (or series): 𝑦 = 𝐺(𝐹 𝑥 )
x(t) y(t)
F G
x(t) y(t)
+
Linearity
• In general, a system whose output is proportional to its
input is a linear system.
𝐹 𝑎𝑥 = 𝑎𝐹(𝑥)
𝐹 𝑥1 + 𝑥2 = 𝐹 𝑥1 + 𝐹(𝑥2)
15 March 2019 Classification of systems 61
Linearity
• In simpler words
• Scaling the signal before or after the system gives us the
same result
• Summing before or after the signal gives the same result
• Which of the following systems is linear?
𝑦 𝑡 = 𝑥 𝑡 ∗ cos(𝑤𝑡)
𝑦 𝑡 = 𝑥 2 (𝑡)
15 March 2019 Classification of systems 63
Time Invariance
• Systems whose parameters do not change with respect
to time are time invariant.
Time Invariance
• So a system is time-invariant if a time shift in the input
produces the same time shift in the output.
𝑦 𝑡 =𝐹 𝑥 𝑡
implies that
𝑦 𝑡−𝑇 =𝐹 𝑥 𝑡−𝑇
Exercise
• Are these systems linear? Time invariant?
•𝑦 𝑡 = 𝑥(𝑡)
• 𝑦 𝑡 = 𝑥(𝑎𝑡)
• 𝑦 𝑡 = 𝑥(𝑇 − 𝑡)
15 March 2019 Classification of systems 66
Time Invariance
• Time invariance implies that a time shift and the system
are commutative.
• Commutative means we can flip the order of operations
and get the same result.
System Memory
• A system is memoryless if the present output only
depends on the present input
• These are ideal systems such as an ideal amplifier, ideal
transmission etc.
• But they’re very hard to actuate in real life
• A simple resistor circuit can be thought of as a memoryless system
– the current through the resistor only depends on the voltage
provided at that instant, not on past values.
Causality
• A causal system is one where an output at a given time
does not depend on future values of the input
• We only need to know the value of the input at present
and/or past to figure out what the output will be.
• Vice versa – a noncausal system depends on future
values of the input
• Since we cannot know ahead of time what the input will
be in the future, noncausal systems cannot be made in
real time.
15 March 2019 Classification of systems 69
Causality
Invertibility
• We have learned that a system performs certain
operations on an input signal to create an output signal.
• What if we wanted to get the input signal back from
the output signal?
x(t) y(t)
S
y(t) x(t)
S-1
Invertibility
• In order for a system to be truly invertible, a single input
must map directly to a single output.
• If multiple different inputs produce the same output, then
we can’t invert that and find the original input signal.
• In terms of math, this means that there must be one-to-
one mapping