signals and systems-introduction-matriz - archivo digital...
TRANSCRIPT
Signals and Systems: Introduction
Prof. Miguel A. Muriel
Signals and Systems: Introductiong y
1- Introduction to Signals and Systems1 Introduction to Signals and Systems2- Continuous-Time Signals3- Discrete-Time Signals3 Discrete Time Signals4- Description of Systems5- Time-Domain System Analysis5 Time Domain System Analysis6- Spectral Method7- Fourier Transform7 Fourier Transform8- Sampling9- Discrete Fourier Transform (DFT)9 Discrete Fourier Transform (DFT)
Miguel A. Muriel - Signals and Systems: Introduction - 2
1- Introduction to Signals and Systemsg y
Miguel A. Muriel - Signals and Systems: Introduction - 3
Introduction
-A signal is any physical phenomenon which conveys i f iinformation.
d i l d d i l-Systems respond to signals and produce new signals.
-Excitation signals are applied at system inputs and responsesignals are produced at system outputs.
Miguel A. Muriel - Signals and Systems: Introduction - 4
Signal types
x[n]Discrete-Time
Continuous-Value Signal
x(t)Continuous-Time Continuous-Value
Signal
g yp
nt
Continuous-Time Discrete-Value
Continuous-Time Discrete-Valuex(t) Discrete Value
SignalDiscrete Value
Signal
t
x(t)
t
x(t)
Digital Signal
Continuous-TimeC ti V l
Noisy Digital SignalContinuous-ValueRandom Signal
t
x(t)
t
x(t)
Miguel A. Muriel - Signals and Systems: Introduction - 5
t t
Miguel A. Muriel - Signals and Systems: Introduction - 6
Conversions Between Signal Types
System exampley p
-A communication system has an information signal plus noisesignals. g
Miguel A. Muriel - Signals and Systems: Introduction - 7
Voice Signalg
Miguel A. Muriel - Signals and Systems: Introduction - 8
(a) 32 ms(a) 32 ms
(b) 256 l(b) 256 samples
(a) Segment of a continuous-time speech signal x(t). (b) S f l [ ] ( T) bt i d f th i l i t ( ) ith T 125
Miguel A. Muriel - Signals and Systems: Introduction - 9
(b) Sequence of samples x[n]=x(nT) obtained from the signal in part (a) with T =125μs.
2- Continuous-Time Signalsg
Miguel A. Muriel - Signals and Systems: Introduction - 10
-All continuous signals that are functions of time areAll continuous signals that are functions of time are continuous-time , but not all continuous-time signals are continuous functions of time.
Miguel A. Muriel - Signals and Systems: Introduction - 11
Impulse
0 0
p( )t
0, 0
1
t t
t dt
1
0 1t dt
t
-The impulse is not a function in the ordinary sense because its
2 2
p yvalue at the time of its occurrence is not defined.
-It is a functional.
Miguel A. Muriel - Signals and Systems: Introduction - 12
It i t d hi ll b ti l-It is represented graphically by a vertical arrow.
-Its strength is either written beside it or is represented by itsIts strength is either written beside it or is represented by its length.
Miguel A. Muriel - Signals and Systems: Introduction - 13
Properties of the Impulsep p
Sampling Property
Sampling Property
0f t t dt f
0 0 f t t t dt f t
-The sampling property “extracts” the value of a function at a point.p g p p y p
Miguel A. Muriel - Signals and Systems: Introduction - 14
Scaling Property
1a t t t t 0 0 a t t t ta
-This property illustrates that the impulse is different from ordinary mathematical functionsordinary mathematical functions.
Miguel A. Muriel - Signals and Systems: Introduction - 15
Periodic Impulsep
an integert t nT n
an integerTn
t t nT n
-The periodic impulse is a sum of infinitely many uniformly-spaced impulsesspaced impulses.
Miguel A. Muriel - Signals and Systems: Introduction - 16
Miguel A. Muriel - Signals and Systems: Introduction - 17
Stepp
1 0t
1 , 0u 1/ 2 , 0
0 0
tt t
t
0 , 0t
Precise Graph Commonly-Used Graph
Miguel A. Muriel - Signals and Systems: Introduction - 18
Signum
1 , 0t
,sgn 0 , 0
1 0t t
t
1 , 0t
Precise Graph Commonly-Used GraphPrecise Graph Commonly-Used Graph
Miguel A. Muriel - Signals and Systems: Introduction - 19
Rampp
, 0ramp
0 , 0
tt tt u d tu t
t
Miguel A. Muriel - Signals and Systems: Introduction - 20
Pulse (Rectangle)( g )
1 , 1/ 2t rect 1/ 2 , 1/ 2 1/ 2 1/ 2
0 1/ 2
t t u t u t
t
0 , 1/ 2t
Miguel A. Muriel - Signals and Systems: Introduction - 21
Real Sinusoid and Real Exponentialp
Miguel A. Muriel - Signals and Systems: Introduction - 22
Complex Exponential
tf
p p
2 ( ) j ftg t Ae e
2
2
cos 2 sin 2
cos 2 sin 2
j ft
j ft
ft j fteft j fte
2 2
cos 2 sin 2
j ft j ft
ft j fte
2 2
2 2
cos 22
j ft j ft
j ft j ft
e eft
2 2
sin 22
j ft j fte eftj
Miguel A. Muriel - Signals and Systems: Introduction - 23
Miguel A. Muriel - Signals and Systems: Introduction - 24
Scaling and Shifting
0 t tg t Aga
Miguel A. Muriel - Signals and Systems: Introduction - 25
0g t Ag bt t
Miguel A. Muriel - Signals and Systems: Introduction - 26
Differentiation
( )dx tg tdt
Miguel A. Muriel - Signals and Systems: Introduction - 27
Integrationg
( )t
g t x d
Miguel A. Muriel - Signals and Systems: Introduction - 28
Even and Odd Signalsg
Even Functions Odd Functions
g t g t g t g t
Miguel A. Muriel - Signals and Systems: Introduction - 29
Even and Odd Parts of Signalsg
e og t g t g t
e o
g t g t The of a function is 2e
g t g tg t
even part
The of a function is 2o
g t g tg t
odd part
-The derivative of an even/odd function is odd/even.-The integral of an even/odd function is an odd/even function,plus a constant.
Miguel A. Muriel - Signals and Systems: Introduction - 30
p
Periodic Signalsg
g t g t nT is any integeri f th f ti
g g
nT i d
is a of the functionT period
0
-The minimum positive value of for which is called the of the function.
T g t g t TT
fundamental period
-The reciprocal of the fundamental periodp
0 0
pis the 1/f Tfundamental frequency
Miguel A. Muriel - Signals and Systems: Introduction - 31
Examples of periodic functions with fundamental period T0
Miguel A. Muriel - Signals and Systems: Introduction - 32
Signal Energy
The signal energy of a signal is x t
g gy
2 xE x t dt
Miguel A. Muriel - Signals and Systems: Introduction - 33
Signal Powerg
-Some signals have infinite signal energy.-This usually occurs because the signal is not time limited.-In that case it is more convenient to deal with average signal power.
-The average signal power of a signal is:x tg g p
/ 2
g
1 T
/ 2
2
/ 2
1 limT
x TT
P x t dtT
Miguel A. Muriel - Signals and Systems: Introduction - 34
For a periodic signal the average signal power is:t -For a periodic signal the average signal power is:x t
21 x TP x t dt
T
2where is any period of T x t
Miguel A. Muriel - Signals and Systems: Introduction - 35
A i l i h fi i i l i ll d-A signal with finite signal energy is called an energy signal.
-A signal with infinite signal energy and finite average signal power is called a power signal.
All i di i l i l-All periodic signals are power signals.
Miguel A. Muriel - Signals and Systems: Introduction - 36
3- Discrete-Time Signals
Miguel A. Muriel - Signals and Systems: Introduction - 37
Sampling and Discrete Time
-Sampling is the acquisition of the values of a continuous-time signal di i i i
at discrete points in time.- is a continuous-time signal, is a discrete-time signal.x t x n
is the tx n x nT T ime between samples is the ts sx n x nT T ime between samples
(a) An ideal sampler (b) An ideal sampler sampling uniformly
Miguel A. Muriel - Signals and Systems: Introduction - 38
Creating a discrete-time signal by sampling a continuous-time signal
Miguel A. Muriel - Signals and Systems: Introduction - 39
Unit Impulse
1 , 0n 1 , 00 , 0
nn
n
-The discrete-time unit impulse is a function in the ordinary sensep y (in contrast with the continuous-time impulse).-It has a sampling property
0 0
It has a sampling property
A n n x n Ax n
-But no scaling
n
property, for any non-zero, finite integer .n an a
Miguel A. Muriel - Signals and Systems: Introduction - 40
Periodic Impulse
Nm
n n mN
Miguel A. Muriel - Signals and Systems: Introduction - 41
Unit Sequence
1 , 00 , 0
nu n
n
Miguel A. Muriel - Signals and Systems: Introduction - 42
Signum
1 , 0n
,sgn 0 , 0
1 0n n
n
1 , 0n
Miguel A. Muriel - Signals and Systems: Introduction - 43
Unit Ramp
0n n , 00 , 0n n
ramp n nu nn
Miguel A. Muriel - Signals and Systems: Introduction - 44
Exponentials
is a real constantnx n A A
Real Complex
Miguel A. Muriel - Signals and Systems: Introduction - 45
Sinusoids
0 cos 2g n A F n
is a real constant, is a real phase shift in radiansA
0
is a real constant, is a real phase shift in radians is a real number, and is discrete time
AF n
-Unlike a continuous-time sinusoid, di t ti i id i t il i di a discrete-time sinusoid is not necessarily periodic.
0-g periodic must be a ratio of integers (a rational number).n F
Miguel A. Muriel - Signals and Systems: Introduction - 46
Miguel A. Muriel - Signals and Systems: Introduction - 47
Four discrete-time sinusoids
-Two sinusoids whose analytical expressions look different
1 01 2 02 cos 2 and cos 2g n A F n g n A F n
02 01 , may actually be the same if where is an integer.F F m m
02 01cos 2 cos 2 2 cos 2A F n A F n mn A F 01n
Miguel A. Muriel - Signals and Systems: Introduction - 48
Two cosines with different F’s but the same functional behavior
Miguel A. Muriel - Signals and Systems: Introduction - 49
A discrete-time sinusoid with frequency F repeats every time F changes by one
Miguel A. Muriel - Signals and Systems: Introduction - 50
Scaling and Shifting Functions
Let be graphically defined by:g n
0 15g n n
Miguel A. Muriel - Signals and Systems: Introduction - 51
0 , 15g n n
0 0Time shifting an integern n n n
Miguel A. Muriel - Signals and Systems: Introduction - 52
Time compression an integer > 1n Kn K
Time expansion / an integer > 1n n K K
-For all such that / is an integer, / is defined.
F ll h h / i i /
n n K g n K
K K i d fi d -For all such that / is not an integer, / n n K g n K is not defined.
Miguel A. Muriel - Signals and Systems: Introduction - 53
Miguel A. Muriel - Signals and Systems: Introduction - 54
Time compression for a discrete-time function
Time expansion for a discrete-time function (K=2)
Miguel A. Muriel - Signals and Systems: Introduction - 55
Differencing
1 1g n x n x n g n x n x n
Miguel A. Muriel - Signals and Systems: Introduction - 56
Accumulation
n
m
g n h m
m
Miguel A. Muriel - Signals and Systems: Introduction - 57
Even and Odd Signals
g n g n g n g n
2 2e o
g n g n g n g ng n g n
Miguel A. Muriel - Signals and Systems: Introduction - 58
Periodic Signals
g n g n mN
is any integeri f th f ti
g n g n mN
mN
i dis a of the functionN period
0
-The minimum positive value of for which is called the of the function.
N g n g n NN
fundamental period
-The reciprocal of the fundamental periodp
0 0
pis the 1/F Nfundamental frequency
Miguel A. Muriel - Signals and Systems: Introduction - 59
Examples of periodic functions with fundamental period N0
Miguel A. Muriel - Signals and Systems: Introduction - 60
Signal Energy
The signal energy of a signal is x n
2 xx
nE n
0 , 31x n n
Miguel A. Muriel - Signals and Systems: Introduction - 61
Signal Power
S i l h i fi it i l-Some signals have infinite signal energy.-This usually occurs because the signal is not time limited.-In that case it is more convenient to deal with average signal power.
-The average signal power of
1 2
a signal is
1 N
x n
21 lim2x N n N
P x nN
Miguel A. Muriel - Signals and Systems: Introduction - 62
F i di i l h i l i
2
-For a periodic signal the average signal power is:1x n
P x n xn N
P x nN
The notation means the sum over any set of
consecutive 's exactly in lengthn N
n N
consecutive 's exactly in lengthn N
Miguel A. Muriel - Signals and Systems: Introduction - 63
A i l i h fi i i l i ll d-A signal with finite signal energy is called an energy signal.
-A signal with infinite signal energy and finite average signal power is called a power signal.
All i di i l i l-All periodic signals are power signals.
Miguel A. Muriel - Signals and Systems: Introduction - 64
4- Description of Systems
Miguel A. Muriel - Signals and Systems: Introduction - 65
Systems
-Broadly speaking, a system is anything that responds when stimulated or excitedstimulated or excited.
Engineering system analysis is the application of mathematical-Engineering system analysis is the application of mathematical methods to the design and analysis of systems.
-Systems have inputs and outputs.
-Systems accept excitations or input signals at their inputs and produce responses or output signals at their outputsproduce responses or output signals at their outputs.
Miguel A. Muriel - Signals and Systems: Introduction - 66
Systems
Continuous time systems are usually described by differential-Continuous-time systems are usually described by differential equations.
-Discrete-time systems are usually described by difference equations.
-The properties of discrete-time systems have the same meaning as they do in continuous time systemsas they do in continuous-time systems.
Miguel A. Muriel - Signals and Systems: Introduction - 67
-Systems are often represented by block diagramsy p y g
A single-input, single-output system block diagram
A multiple-input, multiple-output system block diagram
Miguel A. Muriel - Signals and Systems: Introduction - 68
Some Block Diagram Symbols
Three common block diagram symbols for an amplifier
Three common block diagram symbols for a summing junction
Miguel A. Muriel - Signals and Systems: Introduction - 69
Th bl k di b l f i j ti d-The block diagram symbols for a summing junction and an amplifier are the same for discrete-time systems as they are for continuous-time systemscontinuous time systems.
Block diagram symbol (continuous-time systems) for an integrator
Block diagram symbol (discrete time systems) for a delay
Miguel A. Muriel - Signals and Systems: Introduction - 70
An Electrical Circuit Viewed as a System
-An lowpass filter is a simple electrical system.-It is excited by a voltage and responds with a voltage .in out
RCv t v t
-It can be viewed or modeled as a single-input, single-output system.in out
Miguel A. Muriel - Signals and Systems: Introduction - 71
Homogeneity
-In a homogeneous system, multiplying the excitation by (i l di l ) l i liany constant (including complex constants), multiplies
the response by the same constant.
Miguel A. Muriel - Signals and Systems: Introduction - 72
Additivity
1-If a system when excited by an arbitrary ( ) produces a responsey ( ) and when excited by an arbitrary ( ) produces a response y ( )
x tt x t t1 2 2
1 2 1
y ( ),and when excited by an arbitrary ( ) produces a response y ( )and ( ) ( ) always produces the zero-state response y ( ) y
t x t tx t x t t 2 ( ),
th t it
dditithe system is .additive
Miguel A. Muriel - Signals and Systems: Introduction - 73
Time Invariance
-If an arbitrary input signal ( ) causes a response ( ), x t y t
0 0
0
and an input signal ( - ) causes a response y( - ), for any arbitrary , the system is said to be .
x t t t tt time invariant
Miguel A. Muriel - Signals and Systems: Introduction - 74
Linearity and LTI Systems
-If a system is both homogeneous and additive it is linear.y g
-If a system is both linear and time-invariant it is called an LTIysystem.
-The eigenfunctions of an LTI system are complex exponentials.
-The eigenvalues of an LTI system are either real or, if complex, occur in complex conjugate pairs.
Miguel A. Muriel - Signals and Systems: Introduction - 75
Any LTI system excited by a complex sinusoid respond with-Any LTI system excited by a complex sinusoid respond with another complex sinusoid of the same frequency, but generally with different amplitud and phase (multiplied by a complex p p ( p y pconstant).
-Using the principle of superposition for LTI systems, if the input signal is an arbitrary function that is a linear combination of complex sinusoids of various frequencies, then the output signal is also a linear combination of complex sinusoids at those same frequencies This idea is the basis for the methodsthose same frequencies. This idea is the basis for the methods of Fourier transform analysis.
-All these statements are true of both continuous-time and discrete-time systems.
Miguel A. Muriel - Signals and Systems: Introduction - 76
discrete time systems.
Causality
-Any system for which the response occurs only during or afterthe time in which the excitation is applied is called a causalthe time in which the excitation is applied is called a causalsystem.
-Strictly speaking all real physical systems are causal-Strictly speaking, all real physical systems are causal.
Stability
-Any system for which the response is bounded for any arbitrary bounded excitation, is called a bounded-input-y pbounded-output (BIBO) stable system.
Miguel A. Muriel - Signals and Systems: Introduction - 77
5- Time-Domain System Analysis
Miguel A. Muriel - Signals and Systems: Introduction - 78
Continuous Time
Miguel A. Muriel - Signals and Systems: Introduction - 79
System Responsey p
Input signal Output signal
System x t ?y t
-Once the response to an impulse is known, the response of any LTI system to any arbitrary excitation can be found.syste to a y a b t a y e c tat o ca be ou d.
Miguel A. Muriel - Signals and Systems: Introduction - 80
Impulse Response h(t) p p ( )
Impulse Impulse response
System t h t
-For an LTI system, the impulse response h(t) of the system is a complete description of how it responds to any signal.
Miguel A. Muriel - Signals and Systems: Introduction - 81
Response of a linear shift-invariant system to impulses
Miguel A. Muriel - Signals and Systems: Introduction - 82
-If a continuous-time LTI system is excited by an arbitrary y y yexcitation, the response could be found approximately byapproximating the excitation as a sequence of continuousapproximating the excitation as a sequence of continuousrectangular pulses of width pT
ExactExactExcitation
ApproximateExcitation
Miguel A. Muriel - Signals and Systems: Introduction - 83
t nT p
pn p
t nTx t x nT rect
T
1 pp p
n p p
t nTx t T x nT rect
T T
Shifted Unit Pulse
p p
p p p py t T x nT h t nT
Unit pulse response
Miguel A. Muriel - Signals and Systems: Introduction - 84
n
T d pT d
1 ( ) ( ) ( )p
p p
t nTx t T x nT rect x t x t d
T T
( - )
n p p
d
t
T T
Sampling property of t)
p p p pn
y t T x nT h t nT
y( ) ( ) ( )t x h t d
( - )d h t
Convolution integral
Miguel A. Muriel - Signals and Systems: Introduction - 85
Convolution Integralg
( ) ( ) * ( )y t x h t d x t h t
System x t * ( )y t x t h t x t ( )y t x t h t h t
Miguel A. Muriel - Signals and Systems: Introduction - 86
Convolution Graphical Example
Let be this smooth a eform and let it be appro imatedt
p p
-Let be this smooth waveform and let it be approximatedby a sequence of rectangular pulses.
x t
Miguel A. Muriel - Signals and Systems: Introduction - 87
The approximate excitation is a sum of rectangular pulses
Miguel A. Muriel - Signals and Systems: Introduction - 88
The approximate response is a sum of pulse responses.
Miguel A. Muriel - Signals and Systems: Introduction - 89
Exact and approximate excitation, unit-impulse response, unit-pulse response and exact and approximate system response with Tp=0,2 and 0.1
Miguel A. Muriel - Signals and Systems: Introduction - 90
pp y p p ,
Miguel A. Muriel - Signals and Systems: Introduction - 91
Graphical Illustration of the Convolution Integralp g
-The convolution integral is defined by
g y
x t h t x h t d
-For illustration purposes let the excitation and thex t
impulse response be the two functions below.h t
Miguel A. Muriel - Signals and Systems: Introduction - 92
Process of convolvingProcess of convolving
Miguel A. Muriel - Signals and Systems: Introduction - 93
Convolution Integral Propertiesg p
Convolution with an shifted impulse
0 0 x t A t t Ax t t
p
Commutativity
x t y t y t x t
Commutativity
A i ti it
x t y t z t x t y t z t
Associativity
Distributivity
x t y t z t x t z t y t z t x t y t t x t t y t t
Miguel A. Muriel - Signals and Systems: Introduction - 94
If y t x t h t
Differentiation Property
y t x t h t x t h t
Differentiation Property
Area Property Area of y = (Area of x) x (Area of h)
Area Property S li P Scaling Property
y at a x at h at
Miguel A. Muriel - Signals and Systems: Introduction - 95
Miguel A. Muriel - Signals and Systems: Introduction - 96
System Interconnectionsy
-If the output signal from a LTI system is the input signal to a second LTI system, the systems are said to be cascade connected.
From the properties of convolution:-From the properties of convolution:
Cascade Connection
Miguel A. Muriel - Signals and Systems: Introduction - 97
-If two LTI systems are excited by the same signal and their responses are added they are said to be parallel connected.p y p
-From properties of convolution:
Parallel Connection
Miguel A. Muriel - Signals and Systems: Introduction - 98
Step Response
-One of the most common signals used to test systems is the step function The response of an LTI system to a unit step is:
p p
function. The response of an LTI system to a unit step is:
t
h t h t u t h u t d h d
1 h t h t u t h u t d h d
-The response of an LTI system excited by a unit step is the integral of the impulse response.As the unit step is the integral of the impulse the unit step-As the unit step is the integral of the impulse, the unit-step
response is the integral of the unit-impulse response.-In fact, this relationship holds for any excitation., p y-If any excitation is changed to its integral, the response also changes to its integral.
Miguel A. Muriel - Signals and Systems: Introduction - 99
R l i b i l d d i i f i i d f LTI
Miguel A. Muriel - Signals and Systems: Introduction - 100
Relations between integrals and derivatives of excitations and responses for an LTI system
Discrete Time
Miguel A. Muriel - Signals and Systems: Introduction - 101
System Responsey p
I i l O i l
System
Input signal Output signal
x n ?y nSystem x n ?y n
-Once the response to a unit impulse is known, the response of any LTI system to any arbitrary excitation can be found.y y y y
-Any arbitrary excitation is simply a sequence of amplitude-scaled and time-shifted impulses.p
-Therefore the response is simply a sequence of amplitude-scaled and time-shifted impulse responses.
Miguel A. Muriel - Signals and Systems: Introduction - 102
Unit Impulse Response h[n] p p [ ]
Unit Impulse Unit Impulse Response
System n h n
-For an LTI system, the unit impulse response h[n] of the system is a complete description of how it responds to any signal.
Miguel A. Muriel - Signals and Systems: Introduction - 103
Convolution Sum
-The response to an arbitrary excitation x is of the formy n n
p y
1 1 0 1 1
y
y n x h n x h n x h n
-This can be written in a more compact form (Convolution Sum)
m
y n x m h n m
-Compare with y( ) ( ) ( )t x h t d
Miguel A. Muriel - Signals and Systems: Introduction - 104
*y n x m h n m x n h n
*m
y n x m h n m x n h n
S stemSystem x n *y n x n h n h n
Miguel A. Muriel - Signals and Systems: Introduction - 105
System Response Exampley p p
Miguel A. Muriel - Signals and Systems: Introduction - 106
Convolution Sum Properties
Convolution with a shifted unit impulse
p
0 0
x n A n n Ax n n
Convolution with a shifted unit impulse
Commutativity
x n y n y n x n
Commutativity
x n y n z n x n y n z n
Associativity
Distributivity
x n y n z n x n z n y n z n x n y n z n x n z n y n z n
Miguel A. Muriel - Signals and Systems: Introduction - 107
If *y n x n h n
Differentiation Property
1 1 1y n y n x n h n h n x n x n h n
p y
(Sum of y = (Sum of x) x (Sum of h))
Sum Property
x n n n
y n x n h n
Miguel A. Muriel - Signals and Systems: Introduction - 108
System Interconnectionsy
-If the output signal from a LTI system is the input signal to a second LTI system, the systems are said to be serie/cascade connected.
From the properties of convolution:-From the properties of convolution:
Serie/Cascade Connection
Miguel A. Muriel - Signals and Systems: Introduction - 109
-If two LTI systems are excited by the same signal and their responses are added they are said to be parallel connected.p y p
-From properties of convolution:
Parallel Connection
Miguel A. Muriel - Signals and Systems: Introduction - 110
6- Spectral Methodp
Miguel A. Muriel - Signals and Systems: Introduction - 111
Introduction
Response of a linear shift-invariant system to impulses
Miguel A. Muriel - Signals and Systems: Introduction - 112
R f li hift i i t t t h i f tiResponse of a linear shift-invariant system to a harmonic function
Miguel A. Muriel - Signals and Systems: Introduction - 113
Representing a Signalp g g
-The Spectral (Fourier) method represents a signal as a linear combination of complex exponentials (Harmonic functions).
-If an excitation can be expressed as a sum of complex exponentials the response of an LTI system can be expressedexponentials, the response of an LTI system can be expressed as the sum of responses to complex sinusoids too.
-This is the fundament of the Spectral Method.
Miguel A. Muriel - Signals and Systems: Introduction - 114
Miguel A. Muriel - Signals and Systems: Introduction - 115
Miguel A. Muriel - Signals and Systems: Introduction - 116
Miguel A. Muriel - Signals and Systems: Introduction - 117
Miguel A. Muriel - Signals and Systems: Introduction - 118
www.dsprelated.com
Miguel A. Muriel - Signals and Systems: Introduction - 119
Inner Product
-The inner product of two functions, is the integral of the product of one function and the complex conjugate of theproduct of one function and the complex conjugate of the other function over an interval.
1 2 0 0-Inner Product of ( ) and ( ) on the interval x t x t t t t T
0
*1 2 1 2( ), ( ) ( ) ( )
t T
x t x t x t x t dt
0
1 2 1 2
Inner Product
( ), ( ) ( ) ( )t
x t x t x t x t dt
Miguel A. Muriel - Signals and Systems: Introduction - 120
Orthogonality
-Orthogonal means that the inner product of the two functions of time on some time interval is zero
g y
functions of time, on some time interval, is zero.
1 2-Two functions ( ) and ( ) are orthogonal on the intervalif
x t x tt t t T
0
0 0
*1 2 1 2
,if :
( ), ( ) ( ) ( ) 0t T
t t t T
x t x t x t x t dt
0
1 2 1 2
Inner Product
( ), ( ) ( ) ( ) 0t
x t x t x t x t dt
Miguel A. Muriel - Signals and Systems: Introduction - 121
Orthogonality of complex exponentials
1 12( ) j t j f tt
g y p p
1 1
2 2
21
22
( )
( )
j t j f t
j t j f t
x t e e
x t e e
1 21 2, 0 j t j te e
1 2
1 2
1 2
,
, 0 j t
j t j te dt
e e
Orthonormal (Orthonormal and Normalized) Basisj te ( )
Miguel A. Muriel - Signals and Systems: Introduction - 122
7- Fourier Transform
Miguel A. Muriel - Signals and Systems: Introduction - 123
Definition
-Fourier Basis j te
-The Fourier Transform of ( ) is the projection of this functionx t( ) p jonto the Fourier basis. -The Fourier Transform of ( ) is defined as:x tThe Fourier Transform of ( ) is defined as:x t
( ) ( ) ( ) j tx t X x t e dt
F
( ) ( )x t X F
Miguel A. Muriel - Signals and Systems: Introduction - 124
-It follows that the Inverse Fourier Transform of ( ) is:X ( )
1
1 1( ) ( ) ( )
2j tX x t X e d
F
1
( ) ( )X x t
F
( ) ( )
Miguel A. Muriel - Signals and Systems: Introduction - 125
-The definitions based on frequency terms are:
2 ( ) ( ) j ftX f x t e dt
( ) ( ) j tx t X f e df
Miguel A. Muriel - Signals and Systems: Introduction - 126
Miguel A. Muriel - Signals and Systems: Introduction - 127
Examplesp
Lowpass
Miguel A. Muriel - Signals and Systems: Introduction - 128
Highpass
Miguel A. Muriel - Signals and Systems: Introduction - 129
Bandpass
Miguel A. Muriel - Signals and Systems: Introduction - 130
Example: extracting frequency-domain information in the signal
Miguel A. Muriel - Signals and Systems: Introduction - 131
Example: blood pressure waveform (sampled at 200 points/s)
Miguel A. Muriel - Signals and Systems: Introduction - 132
FT Pairs
Miguel A. Muriel - Signals and Systems: Introduction - 133
Miguel A. Muriel - Signals and Systems: Introduction - 134
Miguel A. Muriel - Signals and Systems: Introduction - 135
Miguel A. Muriel - Signals and Systems: Introduction - 136
Miguel A. Muriel - Signals and Systems: Introduction - 137
Miguel A. Muriel - Signals and Systems: Introduction - 138
Sinc Function
sinsinc
tt
t
Miguel A. Muriel - Signals and Systems: Introduction - 139
Miguel A. Muriel - Signals and Systems: Introduction - 140
Miguel A. Muriel - Signals and Systems: Introduction - 141
Miguel A. Muriel - Signals and Systems: Introduction - 142
FT Properties
F
Lineality
p
F
F
x t y t X f Y f
x t y t X j Y j
Miguel A. Muriel - Signals and Systems: Introduction - 143
Domains Duality
andX t x f X t x f F F
2 and 2X jt x X jt x F F
Miguel A. Muriel - Signals and Systems: Introduction - 144
Time Shifting
0
0
20
j ft
j t
x t t X f e
t t X j
F
F 00
j tx t t X j e F
Miguel A. Muriel - Signals and Systems: Introduction - 145
Frequency Shifting
020
j f tx t e X f f F 0
0j tx t e X j F
Miguel A. Muriel - Signals and Systems: Introduction - 146
The “Uncertainty” Principley p-The time and frequency scaling properties indicate that if a signal is expanded in one domain it is compressed in the other domain.p p-This is called the “uncertainty principle” of Fourier analysis.
Miguel A. Muriel - Signals and Systems: Introduction - 147
(Uncertainty Principle)Time Scaling
1 fx at X F x at X
a a
1x at X ja a
F
Miguel A. Muriel - Signals and Systems: Introduction - 148
(Uncertainty Principle)Frequency Scaling
1 tx X af F x X af
a a
1 tx X jaa a
F
a a
Miguel A. Muriel - Signals and Systems: Introduction - 149
Time Differentiation
2d t j fX fF
2x t j fX fdtd x t j X j
F
F x t j X jdt
Miguel A. Muriel - Signals and Systems: Introduction - 150
1t X f
Time Integration
1 02 2
t
X fx d X f
j f
X j
F
0t X j
x d Xj
F
Miguel A. Muriel - Signals and Systems: Introduction - 151
Total - Area Integrals
0X x t dt
0X x t dt
0x X f df
f f
Miguel A. Muriel - Signals and Systems: Introduction - 152
Parseval’s Theorem
2 2x t dt X f df
x t dt X f df
2 212
x t dt X j df
Miguel A. Muriel - Signals and Systems: Introduction - 153
Multiplication Convolution Duality
x t y t X f Y f F
x t y t X j Y j F
1
x t y t X f Y f F
1
2x t y t X j Y j
F
Miguel A. Muriel - Signals and Systems: Introduction - 154
Time Domain ( ) Frequency Domain ( )t f
*
y x h Y XHh
*y xh Y X H
Miguel A. Muriel - Signals and Systems: Introduction - 155
( )y t ( )x t ( )h t
FT FTIFT
( )y ( ) ( )
( )H f( )X f( )Y f
Miguel A. Muriel - Signals and Systems: Introduction - 156
Modulation
0 0 01cos 22
x t f t X f f X f f F
2
1 F 0 0 01cos2
x t t X j X j F
Miguel A. Muriel - Signals and Systems: Introduction - 157
Miguel A. Muriel - Signals and Systems: Introduction - 158
Miguel A. Muriel - Signals and Systems: Introduction - 159
Miguel A. Muriel - Signals and Systems: Introduction - 160
t h t
System
1 H f1 H f
Miguel A. Muriel - Signals and Systems: Introduction - 161
* ( )t t h tSystem
x t * ( )y t x t h t
h t H f( )X f ( )Y f X f H f
h t H f
Miguel A. Muriel - Signals and Systems: Introduction - 162
System Interconnections-If the output signal from a LTI system is the input signal to a second LTI system, the systems are said to be serie/cascade connected.
y
-In the frequency domain, the serie/cascade connection multiplies the frequency responses instead of convolving the impulse responses.
Miguel A. Muriel - Signals and Systems: Introduction - 163
Serie/Cascade Connection
-If two LTI systems are excited by the same signal and their responses are added they are said to be parallel connected.responses are added they are said to be parallel connected.
1( )H f
X f
2 ( )H f
1 2( ( ) ( ))Y f X f H f H f +
1 2( ( ) ( ))Y f X f H f H f X f1 2( ) ( )H f H f
Parallel Connection
Miguel A. Muriel - Signals and Systems: Introduction - 164
8- Sampling
Miguel A. Muriel - Signals and Systems: Introduction - 165
Introduction
-The fundamental consideration in sampling theory is how fast to sample a signal to be able to reconstruct the signal from thesamples.
Miguel A. Muriel - Signals and Systems: Introduction - 166
Miguel A. Muriel - Signals and Systems: Introduction - 167
Aliasing
1fSS
fT
Miguel A. Muriel - Signals and Systems: Introduction - 168
Miguel A. Muriel - Signals and Systems: Introduction - 169
Nyquist rate
-If a continuous-time signal is sampled for all time at a rate fs
that is more than twice the bandlimit f of the signal the originalthat is more than twice the bandlimit fm of the signal, the original continuous-time signal can be recovered exactly from the samples.
2S mf f
-The frequency 2 fm is called the Nyquist rate. q y fm yq-A signal sampled at a rate less than the Nyquist rate is undersampled-A signal sampled at a rate greater than the Nyquist rate is oversampled.g p g yq p
Miguel A. Muriel - Signals and Systems: Introduction - 170
Miguel A. Muriel - Signals and Systems: Introduction - 171
Miguel A. Muriel - Signals and Systems: Introduction - 172
Miguel A. Muriel - Signals and Systems: Introduction - 173
Miguel A. Muriel - Signals and Systems: Introduction - 174
Interpolation
-Interpolation process for an ideal lowpass filter -The corner frequency set to half the sampling rate
Miguel A. Muriel - Signals and Systems: Introduction - 175
-Sinc-function interpolation is theoretically perfect but it can never be done in practice because it requires samples from the signal for alltimetime.-Real interpolation must make causal compromises.-The simplest realizable interpolation technique is what a DAC does.
Miguel A. Muriel - Signals and Systems: Introduction - 176
9- Discrete Fourier Transform (DFT)
Miguel A. Muriel - Signals and Systems: Introduction - 177
Intoduction-A signal can be represented as a linear combination f h i l ti l
Intoduction
of harmonic complex exponentials.
Miguel A. Muriel - Signals and Systems: Introduction - 178
Orthonormal ( Orthogonal and Normalized Basis)Orthonormal ( Orthogonal and Normalized Basis)
2( )j nkNe
0 1 ( )
0 1 ( )
n N t n
k N f k
Miguel A. Muriel - Signals and Systems: Introduction - 179
Definition
The most common definition of the Discrete Fourier Transform
Definition
-The most common definition of the Discrete Fourier Transform (DFT) of is:x n
21 ( )
0
N j nk
NN
n
X k x n e x n X k
DFT
real valuesx n N
real values
complex values 2 real values
x n N
X k N N
Miguel A. Muriel - Signals and Systems: Introduction - 180
-It follows that the Inverse Discrete Fourier Transform (IDFT) of is:X k
21 ( )1 N j nk1
( )
0
1 j nk
NN
n
x n X k e X k x nN
-1DFT
Miguel A. Muriel - Signals and Systems: Introduction - 181
DFT Matrix2 1( )
[ ] [ ]Nj nkN
N NW e X k x n W
0
[ ] [ ]N Nn
0 0 0 00 0X W W W W
0 1n N
0 0 0 0
0 1 2 -1
0 2 4 2( 1)
0 01 1
N N N NN
N N N NN
X xW W W WX xW W W W
0 2 4 2( -1)2 2N
N N N NX xW W W W
0 -1 2( -1) ( -1)( -1)1 1N N N NN N N NX N x NW W W W
0 1k N
Miguel A. Muriel - Signals and Systems: Introduction - 182
0 1k N
Miguel A. Muriel - Signals and Systems: Introduction - 183
Miguel A. Muriel - Signals and Systems: Introduction - 184
Miguel A. Muriel - Signals and Systems: Introduction - 185
Miguel A. Muriel - Signals and Systems: Introduction - 186
Miguel A. Muriel - Signals and Systems: Introduction - 187
Miguel A. Muriel - Signals and Systems: Introduction - 188
Miguel A. Muriel - Signals and Systems: Introduction - 189
Miguel A. Muriel - Signals and Systems: Introduction - 190
Miguel A. Muriel - Signals and Systems: Introduction - 191
Miguel A. Muriel - Signals and Systems: Introduction - 192
2-point DFTp
DFT of vector (a,b)
2
( , )2 1jN W e
1 11 1
a a bb a b
1 1 b a b
IDFT1 11 a b a
1 12 a b b
Miguel A. Muriel - Signals and Systems: Introduction - 193
4-points DFT
DFT f t ( b d)
p
24
DFT of vector (a,b,c,d)
4j
N W e j
44
1 1 1 1
N W e j
b d
1 1 1 11 1
a b c daa c j b dj j b
1 1 1 11 1
a c b dca c j b dj j d
Miguel A. Muriel - Signals and Systems: Introduction - 194
IDFTIDFT
1 1 1 11 11
a b c d aa c j b dj j b
1 1 1 141 1
a c b d ca c j b dj j d
jj j
Miguel A. Muriel - Signals and Systems: Introduction - 195
DFT PropertiesDFT Properties
Miguel A. Muriel - Signals and Systems: Introduction - 196
Miguel A. Muriel - Signals and Systems: Introduction - 197
DFT Pairs
2 / j n NmNmNe mN k m DFT
DFT Pairs
cos 2 / / 2
sin 2 / / 2mN mNmN
N NN
qn N mN k mq k mq
qn N jmN k mq k mq
DFT
DFT sin 2 / / 2
mN mNmNqn N jmN k mq k mq
1N mNmNn m k
N k
DFT
DFT
1 0 /
0 1 1 0 1 0/
1
/ ,
NN
j k n n N
N N j k N
N k
eu n n u n n n n n drcl k N n n
DFT
DFT 0 1 1 0 1 0/
N N j k Net
2/ / , , an integer
i / /w N w w wNri n N n N drcl k N N N
k N k
DFT
DFT sin / /N NNc n w n wrect wk N k DFT
Miguel A. Muriel - Signals and Systems: Introduction - 198
Fast Fourier Transform (FFT)( )
-The DFT requires N2 complex multiplies and N(N-1) complex additions.
-Algorithms that exploit computational savings are collectively called Fast Fourier Transforms.f
-They take advantage of the symmetry and periodicity of the complex exponential.
Miguel A. Muriel - Signals and Systems: Introduction - 199
2 1( )
0 [ ] [ ]
Nj nkNN N
nW e X k x n W
0
[ ] *Symmetry ( )
n
N n k nk nkW W W [ ] [ ]
Symmetry ( )
Periodicity N N Nnk n N k n k N
N N N
W W W
W W W
2 length DFT multiplicationsNN2 2
lengths DFT 2 multiplications2 2N N
N22
Miguel A. Muriel - Signals and Systems: Introduction - 200
22 1jN W e
A 2-point DFT
Miguel A. Muriel - Signals and Systems: Introduction - 201
A 2 point DFT
Miguel A. Muriel - Signals and Systems: Introduction - 202
An N-point DFT computed using two N/2-point DFT’s
Miguel A. Muriel - Signals and Systems: Introduction - 203
Textbook
M J Roberts "Signals and Systems Analysis Using Transform-M.J. Roberts, Signals and Systems Analysis Using Transform Methods and MATLAB® ", 2nd Ed, McGraw-Hill (2012).
(Content and Figures are mainly from Textbook)(M. J. Roberts - All Rights Reserved)
Miguel A. Muriel - Signals and Systems: Introduction - 204