Signals and Systems Overview Guide
Signals and Systems Overview Guide
Lathi Chapt. 1
Gloria Menegaz 1
Didactic material
• Textbook
– Signal Processing and Linear Systems, B.P. Lathi, CRC Press
• Other books
– Signals and Systems, Richard Baraniuk’s lecture notes, available on line
– Digital Signal Processing (4th Edition) (Hardcover), John G. Proakis, Dimitris K
Manolakis
– Teoria dei segnali analogici, M. Luise, G.M. Vitetta, A.A. D’Amico, McGraw-Hill
– Signal processing and linear systems, Schaun's outline of digital signal
processing
• All textbooks are available at the library
• Handwritten notes will be available on demand
Gloria Menegaz 2
Signals&Systems
System
time
frequency
Gloria Menegaz 3
Contents
Signals Systems
• Signal classification and • Linear Time-Invariant Systems
representation – Time and frequency domain analysis
– Types of signals – Impulse response
– Sampling theory – Stability criteria
– Quantization • Digital filters
• Signal analysis – Finite Impulse Response (FIR)
– Fourier Transform
• Mathematical tools
§ Continuous time, Fourier series,
Discrete Time Fourier Transforms, – Laplace Transform
Windowed FT § Basics
– Spectral Analysis – Z-Transform
§ Basics
Gloria Menegaz 5
What is a system?
Gloria Menegaz 6
Classification of signals
Gloria Menegaz 7
Continuous time – discrete time
• Continuous time signal: a signal that is specified for every real value of the
independent variable
– The independent variable is continuous, that is it takes any value on the real axis
– The domain of the function representing the signal has the cardinality of real
numbers
§ Signal ↔ f=f(t)
§ Independent variable ↔ time (t), position (x)
§ For continuous-time signals: t∈
amplitude
time
Gloria Menegaz 8
Continuous time – discrete time
• Discrete time signal: a signal that is specified only for discrete values of the
independent variable
– It is usually generated by sampling so it will only have values at equally spaced
intervals along the time axis
– The domain of the function representing the signal has the cardinality of integer
numbers
§ Signal ↔ f=f[n], also called “sequence”
§ Independent variable ↔ n amplitude
§ For discrete-time functions: t Î Z
time (discrete)
Gloria Menegaz 9
Analog - Digital
• Digital signal: a signal is one whose amplitude can take on only a finite
number of values (thus it is quantized)
– The amplitude of the function f() can take only a finite number of values
– A digital signal whose amplitude can take only M different values is said to be M-
ary
§ Binary signals are a special case for M=2
amplitude
time
Gloria Menegaz 11
Example
amplitude
time
time
Gloria Menegaz 12
Example
amplitude
time
• Discrete time digital
§ binary sequence, where the values of the function can only be one or zero.
amplitude
time
Gloria Menegaz 13
Summary
Signal amplitude/
Real Integer
Time or space
Analog Digital
Real
Continuous-time Continuous-time
Analog Digital
Integer
Discrete-time Discrete time
Gloria Menegaz 14
Note
• In the image processing class we have defined as digital those signals that
are both quantized and discrete time. It is a more restricted definition.
• The definition used here is as in the Lathi book.
Gloria Menegaz 15
Periodic - Aperiodic
f (t + T0 ) = f (t ) "t
– The smallest value of T0 which satisfies such relation is said the period of the
function f(t)
– A periodic signal remains unchanged when time-shifted of integer multiples of
the period
– Therefore, by definition, it starts at minus infinity and lasts forever
-¥ £ t £ +¥ t ΰ
-¥ £ n £ +¥ nÎZ
Gloria Menegaz 16
Examples
• Aperiodic signal
Gloria Menegaz 17
Causal and non-Causal signals
Gloria Menegaz 18
Causal and non-causal signals
• Causal signals
f (t ) = 0 t <0
• Anticausals signals
f (t ) = 0 t ³0
• Non-causal signals
Gloria Menegaz 19
Even and Odd signals
• An even signal is any signal f such that f (t) = f (-t). Even signals can be
easily spotted as they are symmetric around the vertical axis.
• An odd signal, on the other hand, is a signal f such that f (t)= - (f (-t))
Gloria Menegaz 20
Decomposition in even and odd components
1 1
f (t ) = ( ( ) ( ) ) ( f ( t ) - f ( -t ) )
f t + f - t +
2 2
1
f e ( t ) = ( f ( t ) + f ( -t ) ) even component
2
1
f o ( t ) = ( f ( t ) - f ( -t ) ) odd component
2
f (t ) = fe (t ) + fo (t )
Gloria Menegaz 21
Example
Gloria Menegaz 22
Example
• Proof
Gloria Menegaz 23
Some properties of even and odd functions
∫ f (t ) dt = 2 ∫ f (t ) dt
e e
−a 0
a
∫ f (t ) dt = 0
o
−a
Gloria Menegaz 24
Deterministic - Probabilistic
Gloria Menegaz 25
Example
• Deterministic signal
amplitude
time
• Random signal
amplitude
time
Gloria Menegaz 26
Finite and Infinite length signals
f = f ( t ) , "t : t1 £ t £ t2
t1 > -¥, t2 < +¥
• An infinite length signal is non zero over an infinite set of values of the
independent variable
– For instance, a sinusoid f(t)=sin(ωt) is an infinite length signal
Gloria Menegaz 27
Size of a signal: Norms
0 T time
Gloria Menegaz 28
Energy
• Signal energy
+¥
Ef = ò
-¥
f 2 (t )dt
+¥
ò
2
Ef = f (t ) dt
-¥
( ò ( f (t ) ) dt )
1/ p
f (t ) =
p
1 £ p < +¥
Gloria Menegaz 29
Power
• Power
– The power is the time average (mean) of the squared signal amplitude, that is
the mean-squared value of f(t)
+T / 2
1
Pf = lim ò
2
f (t ) dt
T ®¥ T
-T / 2
+T / 2
1
T ®¥ T ò
2
Pf = lim f (t ) dt
-T / 2
Gloria Menegaz 30
Power - Energy
• The square root of the power is the root mean square (rms) value
– This is a very important quantity as it is the most widespread measure of
similarity/dissimilarity among signals
– It is the basis for the definition of the Signal to Noise Ratio (SNR)
æ Psignal ö
SNR = 20log10 ç ÷÷
ç Pnoise
è ø
– It is such that a constant signal whose amplitude is =rms holds the same power
content of the signal itself
• There exists signals for which neither the energy nor the power are finite
f
ramp
0 t
Gloria Menegaz 31
Energy and Power signals
Gloria Menegaz 32
Useful signal operations: shifting, scaling, inversion
t
f(t+T)
anticipated
t
T
delayed
f(t-T)
t
Gloria Menegaz 33
Useful signal operations: shifting, scaling, inversion
f(2t) t
compression j ( t ) = f ( 2t )
f(t/2) t
expansion j (t ) = f (t / 2)
Gloria Menegaz 34
Useful signal operations: shifting, scaling, inversion
• Scaling: generalization
a >1
j ( t ) = f ( at ) ® compressed version
ætö
j ( t ) = f ç ÷ ® dilated (or expanded) version
èaø
Viceversa for a < 1
Gloria Menegaz 35
Useful signal operations: shifting, scaling, inversion
j ( t ) = f ( -t )
f(t)
f(-t)
Gloria Menegaz 36
Useful signal operations: shifting, scaling, inversion
qui
• Combined operations: f(t) → f(at-b)
• Two possible sequences of operations
1. Time shift f(t) by to obtain f(t-b). Now time scale the shifted signal f(t-b) by a to
obtain f(at-b).
2. Time scale f(t) by a to obtain f(at). Now time shift f(at) by b/a to obtain f(at-b).
• Note that you have to replace t by (t-b/a) to obtain f(at-b) from f(at) when replacing t by
the translated argument (namely t-b/a))
Gloria Menegaz 37
Useful functions
ì1 t ³ 0
u (t ) = í
î0 t < 0
f (t ) = u (t - 2) - u (t - 4)
Gloria Menegaz 38
Unit step function
Gloria Menegaz 39
Useful functions
u(t) u[k]
k=0 1 2 3…
Gloria Menegaz 40
Useful functions
Gloria Menegaz 41
Useful functions
0 t t
-ε/2 ε/2
The function k 𝛿(t) is zero for all t different from zero and has area equal to k
Gloria Menegaz 42
Properties of the unit impulse function
f (t )d (t ) = f ( 0)d (t )
f ( t ) d ( t - T ) = f (T ) d ( t - T )
+¥ +¥ +¥
ò f ( t ) d ( t ) dt = ò f ( 0 ) d ( t ) dt = f ( 0 ) ò d ( t ) dt = f ( 0 )
-¥ -¥ -¥
+¥
ò f ( t ) d ( t - T ) dt = f (T )
-¥
– The area under the curve obtained by the product of the unit impulse function
shifted by T and j(t) is the value of the function j(t) for t=T
Gloria Menegaz 43
Properties of the unit impulse function
• The unit step function is the integral of the unit impulse function
du
= d (t )
dt
t
ò d ( t ) dt = u ( t )
-¥
– Thus
ì0 t < 0
t
ò-¥ d ( t ) dt = u ( t ) = íî1 t ³ 0
Gloria Menegaz 44
Properties of the unit impulse function
Gloria Menegaz 45
Useful functions
f ( t ) = Ae jwt
• Euler’s relations
Gloria Menegaz 46
Useful functions
s = s + jw
Gloria Menegaz 47
The exponential function
• Special cases
• A constant K = K ⇥ exp 0
• A monotonic exponential exp t (! = 0, s = )
• A trigonometric function cos(!t).(s = 0, = +/ j!)
• An exponentially varying trigonometric function
Gloria Menegaz 48
The exponential function
s=σ s=jω
s=σ+jω s=σ+jω
Gloria Menegaz 49
Complex frequency plan
signals of constant amplitude
jω
monotonically
increasing/decreasing
σ exponentials
Gloria Menegaz 50
Linear Systems
Systems
• A system is characterized by
– inputs
– outputs
– rules of operation (mathematical model of the system)
f1(t) y1(t)
f2(t) y2(t)
fn(t) yn(t)
inputs outputs
Gloria Menegaz 52
Systems
• SISO: single input single output - MIMO: multiple input multiple output
f1(t) y1(t)
f2(t) y2(t)
f1(t) y1(t)
fn(t) yn(t)
Gloria Menegaz 54
Linear and non-linear systems
• Additivity
f1 ! y1 and f2 ! y2 then f 1 + f 2 ! y1 + y 2
• Homogeneity (scaling)
f 1 ! y1 then a 1 ⇥ f 1 ! a 1 ⇥ y1
• Superposition
a 1 ⇥ f 1 + a 2 ⇥ f 2 ! a 1 ⇥ y1 + a 2 ⇥ y 2
Gloria Menegaz 55
Response of a linear system
f f2 f1 f0 f
Gloria Menegaz 56
Response of a linear system
Gloria Menegaz 57
Time-invariant and time-varying parameters
Gloria Menegaz 58
Instantaneous and dynamic systems
Gloria Menegaz 59
Istantaneous and dynamic systems
Gloria Menegaz 60
Causal and non-causal systems
Gloria Menegaz 61
Lumped and distributed parameters
Gloria Menegaz 62
Continuous-time and discrete-time
Gloria Menegaz 63
Invertible and non-invertible systems
Gloria Menegaz 64
System model: input-output description
• The system model is a mathematical expression of a rule that satisfactorily
approximates the dynamical behavior of a system
• Internal description
– The internal structure of the system is known so that we can write equations that
describe such a structure
• External description
– The system is viewed from the input and output terminals and is considered as a
black-box. In this case the system model only describes the relation between the
input and the output signals irrespectively of the internal structure
– Implicitly assumes controllability and observability
Cannot be Cannot be
controlled by observed from
the input the output
Gloria Menegaz 65
Summary
Gloria Menegaz 66