1.1 What Is A Signal?: Block Diagram Representation of A System
1.1 What Is A Signal?: Block Diagram Representation of A System
Introduction
1.1 What is a signal?
A signal is formally defined as a function of one or more variables that
conveys information on the nature of a physical phenomenon.
1.2 What is a system?
A system is formally defined as an entity that manipulates one or more
signals to accomplish a function, thereby yielding new signals.
Signals_and_Systems_Simon 1
Haykin & Barry Van Veen
CHAPTER
Introduction
◆ Modulation:
2. Digital communication system:
sampling + quantization + coding transmitter channel receiver
◆ Two basic modes of communication:
Fig. 1.3
1. Broadcasting Radio, television
2. Point-to-point communication Telephone, deep-space
communication
Signals_and_Systems_Simon 2
Haykin & Barry Van Veen
CHAPTER
Introduction
Figure 1.3 (p. 5)
(a) Snapshot of Pathfinder
exploring the surface of Mars.
(b) The 70-meter (230-foot)
diameter antenna located at
Canberra, Australia. The
surface of the 70-meter
reflector must remain accurate
within a fraction of the signal’s
wavelength. (Courtesy of Jet
Propulsion Laboratory.)
Signals_and_Systems_Simon 3
Haykin & Barry Van Veen
CHAPTER
Introduction
★ 1.3.2 Control systems
Signals_and_Systems_Simon 5
Haykin & Barry Van Veen
CHAPTER
Introduction
★ 1.3.3 Microelectromechanical
Systems (MEMS)
Signals_and_Systems_Simon 6
Haykin & Barry Van Veen
CHAPTER
Introduction
SEM view of
Analog Device’s
ADXLO5 surface-
micromachined
polysilicon
accelerometer:
Fig. 1-6 (b).
Signals_and_Systems_Simon 7
Haykin & Barry Van Veen
CHAPTER
Introduction
★ 1.3.4 Remote Sensing
Remote sensing is defined as the process of acquiring information about an
object of interest without being in physical contact with it
1. Acquisition of information = detecting and measuring the changes that the
object imposes on the field surrounding it.
2. Types of remote sensor:
Radar sensor
Infrared sensor
Visible and near-infrared sensor
X-ray sensor
※ Synthetic-aperture radar (SAR)
Satisfactory operation See Fig. 1.7
High resolution
Ex. A stereo pair of SAR acquired from earth orbit with Shuttle Imaging Radar
(SIR-B)
Signals_and_Systems_Simon 8
Haykin & Barry Van Veen
CHAPTER
Introduction
Figure 1.7 (p. 11)
Perspectival view of
Mount Shasta
(California), derived
from a pair of stereo
radar images acquired
from orbit with the
shuttle Imaging Radar
(SIR-B). (Courtesy of
Jet Propulsion
Laboratory.)
Signals_and_Systems_Simon 9
Haykin & Barry Van Veen
CHAPTER
Introduction
★ 1.3.5 Biomedical Signal Processing
Morphological types of nerve cells: Fig. 1-8.
Signals_and_Systems_Simon 11
Haykin & Barry Van Veen
CHAPTER
Introduction
★ Measurement artifacts:
1. Instrumental artifacts
2. Biological artifacts
3. Analysis artifacts
★ 1.3.6 Auditory System
Figure 1.10 (p. 14)
(a) In this diagram, the basilar
membrane in the cochlea is depicted
as if it were uncoiled and stretched
out flat; the “base” and “apex” refer
to the cochlea, but the remarks “stiff
region” and “flexible region” refer to
the basilar membrane. (b) This
diagram illustrates the traveling
waves along the basilar membrane,
showing their envelopes induced by
incoming sound at three different
frequencies.
Signals_and_Systems_Simon 12
Haykin & Barry Van Veen
CHAPTER
Introduction
★ The ear has three main parts:
1. Outer ear: collection of sound
2. Middle ear: acoustic impedance match between the air and cochlear fluid
Conveying the variations of the tympanic membrane (eardrum)
3. Inner ear: mechanical variations → electrochemical or neural signal
★ Basilar membrane: Traveling wave Fig. 1-10.
★ 1.3.7 Analog Versus Digital Signal Processing
Digital approach has two advantages over analog approach:
1. Flexibility
2. Repeatability
1.4 Classification of Signals
Parentheses (‧)
1. Continuous-time and discrete-time signals
Continuous-time signals: x(t) Fig. 1-11.
Discrete-time signals: x n x(nTs ), n 0, 1, 2, ....... (1.1) where t = nTs
Fig. 1-12. Brackets [‧]
Signals_and_Systems_Simon 13
Haykin & Barry Van Veen
CHAPTER
Introduction
Signals_and_Systems_Simon 14
Haykin & Barry Van Veen
CHAPTER
Introduction
2. Even and odd signals Symmetric about vertical axis
Even signals: x ( t ) x(t ) for all t (1.2)
Odd signals: x( t ) x(t ) for all t (1.3)
Example 1.1 Antisymmetric about origin
Consider the signal
t
sin , T t T
x(t ) T
0 , otherwise
Is the signal x(t) an even or an odd function of time?
<Sol.> t
sin , T t T
x ( t ) T
0 , otherwise
t odd function
sin , T t T
= T
0 , otherwise
= x( t ) for all t
Signals_and_Systems_Simon 15
Haykin & Barry Van Veen
x(t ) e 2t cos t
CHAPTER
Introduction
◆ Even-odd decomposition of x(t): Example 1.2
x ( t ) xe ( t ) x o ( t ) Find the even and odd components
of the signal
where xe (t ) xe (t )
x(t ) e 2t cos t
xo ( t ) xo ( t )
<Sol.>
x ( t ) xe ( t ) x o ( t ) x(t ) e 2t cos(t )
xe ( t ) x o ( t ) =e2t cos(t )
1 Even component:
xe x(t ) x(t ) (1.4)
2 1 2t
xe (t ) ( e cos t e 2t cos t )
1 2
xo x ( t ) x ( t ) (1.5)
2 cosh(2t ) cos t
Odd component:
1
xo (t ) ( e 2t cos t e2t cos t ) sinh(2t ) cos t
2
Signals_and_Systems_Simon 16
Haykin & Barry Van Veen
CHAPTER
Introduction
◆ Conjugate symmetric:
A complex-valued signal x(t) is said to be conjugate symmetric if
x ( t ) x (t ) (1.6) Refer to
Let x(t ) a (t ) jb(t ) Fig. 1-13
Problem 1-2
x* (t ) a (t ) jb(t ) a ( t ) a ( t )
a(t ) jb(t ) a (t ) jb(t ) b( t ) b(t )
3. Periodic and nonperiodic signals (Continuous-Time Case)
Periodic signals: x(t ) x(t T ) for all t (1.7)
T T0 , 2T0 , 3T0 , ...... and T T0 Fundamental period Figure 1.13
(p. 20)
Fundamental frequency: (a) One example
1 of continuous-
f (1.8)
T time signal.
Angular frequency: (b) Another
2 example of a
2 f (1.9) continuous-time
T
signal.
Signals_and_Systems_Simon 17
Haykin & Barry Van Veen
CHAPTER
Introduction
◆ Example of periodic and nonperiodic signals: Fig. 1-14.
1-14
Signals_and_Systems_Simon 19
Haykin & Barry Van Veen
CHAPTER
Introduction
Figure 1.17 (p. 22)
Aperiodic discrete-time signal
consisting of three nonzero samples.
Signals_and_Systems_Simon 20
Haykin & Barry Van Veen
CHAPTER
Introduction
The total energy of the continuous-time signal x(t) is ◆ Discrete-time case:
T
Total energy of x[n]:
E lim x (t )dt x 2 (t )dt
2
T
2
(1.15)
T
2
E x 2 [n] (1.18)
Time-averaged, or average, power is n
T
1 Average power of x[n]:
P lim 2T x 2 (t )dt (1.16)
T T N
1
x [n]
2
P lim 2
(1.19)
For periodic signal, the time-averaged power is n 2 N
n N
T N 1
1 1
P 2T x 2 (t )dt
T 2
(1.17) P
N
x [n]
n 0
2
(1.20)
★ Energy signal:
If and only if the total energy of the signal satisfies the condition
0 E
★ Power signal:
If and only if the average power of the signal satisfies the condition
0 P
Signals_and_Systems_Simon 21
Haykin & Barry Van Veen
CHAPTER
Introduction
1.5 Basic Operations on Signals
★ 1.5.1 Operations Performed on dependent Variables c = scaling factor
Amplitude scaling: x(t) y (t ) cx(t ) (1.21)
Discrete-time case: x[n] y[n] cx[n] Performed by amplifier
Addition:
y (t ) x1 (t ) x2 (t ) (1.22)
Discrete-time case: y[n] x1[n] x2 [n]
Multiplication:
Ex. AM modulation
y (t ) x1 (t ) x2 (t ) (1.23)
y[n] x1[ n]x2 [ n]
Differentiation: Figure 1.18 (p. 26)
d d Inductor with current
y (t ) x(t ) (1.24) Inductor: v (t ) L i (t ) (1.25) i(t), inducing voltage
dt dt
v(t) across its
Integration: terminals.
t
y (t ) x( )d (1.26)
Signals_and_Systems_Simon 22
Haykin & Barry Van Veen
CHAPTER
Introduction
1 t
Capacitor v(t ) i ( )d (1.27) Figure 1.19 (p. 27)
: C Capacitor with
★ 1.5.2 Operations Performed on voltage v(t) across
independent Variables its terminals,
Time scaling: inducing current i(t).
y (t ) x( at ) a >1 compressed
0 < a < 1 expanded
Fig. 1-20.
Signals_and_Systems_Simon 23
Haykin & Barry Van Veen
CHAPTER
Introduction
Discrete-time case: y[n] x[kn], k 0 k = integer Some values
lost!
Signals_and_Systems_Simon 24
Haykin & Barry Van Veen
CHAPTER
Introduction
Signals_and_Systems_Simon 27
Haykin & Barry Van Veen
CHAPTER
Introduction
r e Fig. 1.30
★ 1.6.2 Sinusoidal Signals x(t T ) A cos( (t T ) )
Fig. 1-31
◆ Continuous-time case: A cos(t T )
x(t ) A cos(t ) (1.35) A cos(t 2 )
where 2 periodicity
A cos(t )
T
x (t )
Signals_and_Systems_Simon 31
Haykin & Barry Van Veen
CHAPTER
Introduction
Signals_and_Systems_Simon 32
Haykin & Barry Van Veen
CHAPTER
Introduction
Signals_and_Systems_Simon 33
Haykin & Barry Van Veen
CHAPTER
Introduction
Ex. Generation of a sinusoidal signal Fig. 1-32.
1-32
Circuit Eq.:
d2
LC 2 v(t ) v (t ) 0 (1.36)
dt
v(t ) V0 cos(0t ), t 0 (1.37)
where 1 Figure 1.32 (p. 37)
0 (1.38)
LC Parallel LC circuit,
Natural angular frequency assuming that the
of oscillation of the circuit inductor L and capacitor
◆ Discrete-time case : C are both ideal.
x[n] A cos(n ) (1.39)
Periodic condition: x[n N ] A cos(n N ) (1.40)
2 m
N 2 m or radians/cycle, integer m, N (1.41)
N
Ex. A discrete-time sinusoidal signal: A = 1, = 0, and N = 12. Fig. 1-33.
Signals_and_Systems_Simon 34
Haykin & Barry Van Veen
CHAPTER
Introduction
In the form y[n] = Acos(n + ), and evaluate the amplitude A and phase .
<Sol.>
(a) Angular frequency of both x1[n] and x2[n]:
2 m 2 m 2m
5 radians/cycle N
5 5
This can be only for m = 5, 10, 15, …, which results in N = 2, 4, 6, …
(b) Trigonometric identity:
A cos(n ) A cos(n)cos( ) A sin(n)sin( )
Let = 5, then compare x1[n] + x2[n] with the above equation to obtain that
Signals_and_Systems_Simon 36
Haykin & Barry Van Veen
CHAPTER
Introduction
A sin( ) 1 and A cos( ) 3
sin( ) amplitude of x1[ n] 1
tan( ) =/6
cos( ) amplitude of x2 [ n] 3
A sin( ) 1
1
A 2 Accordingly, we may express y[n] as
sin / 6
y[n] 2cos 5 n
6
★ 1.6.3 Relation Between Sinusoidal and Complex Exponential Signals
j j t
1. Euler’s identity: e cos j sin (1.41) Be
Complex exponential signal: B Ae j (1.42) Ae j e j t
x(t ) A cos(t ) (1.35)
Ae j ( t )
A cos(t ) Re{Be jt } (1.42)
A cos( t ) jA sin( t )
Signals_and_Systems_Simon 37
Haykin & Barry Van Veen
CHAPTER
Introduction
◇ Continuous-time signal in terms of sine function:
x(t ) A sin(t ) (1.44)
A sin(t ) Im{Be jt } (1.45)
2. Discrete-time case:
A cos(n ) Re{Be jn } (1.46) and A sin(n ) Im{Be jn } (1.47)
3. Two-dimensional representation of the complex
exponential e j n for = /4 and n = 0, 1, 2, …, 7.
: Fig. 1.34.
1.34
Projection on real axis: cos(n);
Projection on imaginary axis:
sin(n) /4
/ 4
Signals_and_Systems_Simon 38
Haykin & Barry Van Veen
CHAPTER
Introduction
★ 1.6.4 Exponential Damped Sinusoidal Signals
x(t ) Ae t sin(t ), 0 (1.48)
Example for A = 60,
= 6, and = 0: Fig.1.35.
Fig.1.35
Signals_and_Systems_Simon 39
Haykin & Barry Van Veen
CHAPTER
Introduction
1 t
Ex. Generation of an exponential damped sinusoidal signal
Fig. 1-36.
1-36 L
v ( )d
d 1 1 t
Circuit Eq.: C v(t ) v (t ) v ( )d 0 (1.49)
dt R L
v (t ) V0 e t /(2CR ) cos( 0t ) t 0 (1.50)
1 1 R L /(4C )
where 0 2 2 (1.51)
LC 4C R
Figure 1.36 (p. 42)
Comparing Eq. (1.50) and (1.48), we have Parallel LRC, circuit, with
A V0 , 1/(2CR ), 0 , and / 2 inductor L, capacitor C,
and resistor R all
◆ Discrete-time case: assumed to be ideal.
x[n] Br n sin[n ] (1.52)
x[n]
★ 1.6.5 Step Function Figure 1.37 (p. 43)
◆ Discrete-time case: Discrete-time version 1
u[n] 1,0, n 0 of step function of unit
n 0 (1.53) amplitude. n
3 2 1 0 1 2 3 4
Fig. 1-37.
Signals_and_Systems_Simon 40
Haykin & Barry Van Veen
CHAPTER
Introduction
◆ Continuous-time case: Figure 1.38 (p. 44)
Continuous-time
1, t 0
u(t ) (1.54) version of the unit-step
0, t 0 function of unit
amplitude.
Example 1.8 Rectangular Pulse
Consider the rectangular pulse x(t) shown in Fig. 1.39 (a). This pulse has an
amplitude A and duration of 1 second. Express x(t) as a weighted sum of two
step functions.
<Sol.>
A, 0 t 0.5
1. Rectangular pulse x(t): x (t ) (1.55)
0, t 0.5
1 1
x(t ) Au t Au t (1.56)
2 2
Example 1.9 RC Circuit
Find the response v(t) of RC circuit shown in Fig. 1.40 (a).
<Sol.>
Signals_and_Systems_Simon 41
Haykin & Barry Van Veen
CHAPTER
Introduction
Signals_and_Systems_Simon 43
Haykin & Barry Van Veen
CHAPTER
Introduction
★ 1.6.6 Impulse Function Figure 1.41 (p. 46)
◆ Discrete-time case: Discrete-time form of
impulse.
[n] 1, n 0
0, n 0 (1.58)
Fig. 1.41
(t) a(t)
Figure 1.41 (p. 46)
Discrete-time form of impulse.
Signals_and_Systems_Simon 47
Haykin & Barry Van Veen
CHAPTER
Introduction
Signals_and_Systems_Simon 51
Haykin & Barry Van Veen
CHAPTER
Introduction
1.7 Systems Viewed as Interconnections of Operations
A system may be viewed as an interconnection of operations that transforms an
input signal into an output signal with properties different from those of the
input signal.
1. Continuous-time case:
y (t ) H {x(t )} (1.78)
2. Discrete-time case:
y[n] H {x[n]} (1.79) Figure 1.49 (p. 53)
Block diagram representation of operator H for (a)
Fig. 1-49 (a) and continuous time and (b) discrete time.
(b).
Example 1.12 Moving-average system
Consider a discrete-time system whose output signal y[n] is the average of the
three most recent values of the input signal x[n], that is
1
y[n] ( x[n] x[n 1] x[n 2])
3
Formulate the operator H for this system; hence, develop a block diagram
representation for it.
Signals_and_Systems_Simon 52
Haykin & Barry Van Veen
CHAPTER
Introduction
<Sol.> 1. Discrete-time-shift operator Sk: Fig. 1.50.
1.50
Shifts the input x[n] by k time units to
produce an output equal to x[n k].
2. Overall operator H for the moving-average Figure 1.50 (p. 54)
system: Discrete-time-shift operator
1
H (1 S S 2 ) Fig. 1-51. Sk, operating on the discrete-
3 time signal x[n] to produce
Fig. 1-51 (a): cascade form; Fig. 1-51 (b): parallel x[n – k].
form.
1.8 Properties of Systems
★ 1.8.1 Stability
1. A system is said to be bounded-input, bounded-output (BIBO)
BIBO stable if and
only if every bounded input results in a bounded output.
2. The operator H is BIBO stable if the output signal y(t) satisfies the condition
y (t ) M y for all t (1.80)
whenever the input signals x(t) satisfy the condition Both Mx and My
represent some finite
x(t ) M x for all t (1.81) positive number
Signals_and_Systems_Simon 53
Haykin & Barry Van Veen
CHAPTER
Introduction
Signals_and_Systems_Simon 54
Haykin & Barry Van Veen
CHAPTER
Introduction
One famous example of an unstable
system:
Figure 1.52a (p. 56)
Dramatic photographs showing the
collapse of the Tacoma Narrows
suspension bridge on November 7, 1940.
(a) Photograph showing the twisting
motion of the bridge’s center span just
before failure.
(b) A few minutes after the first piece of
concrete fell, this second photograph
shows a 600-ft section of the bridge
breaking out of the suspension span and
turning upside down as it crashed in Puget
Sound, Washington. Note the car in the
top right-hand corner of the photograph.
Signals_and_Systems_Simon 55
Haykin & Barry Van Veen
CHAPTER
Introduction
Example 1.13 Moving-average system (continued)
Show that the moving-average system described in Example 1.12 is BIBO
<p.f.>
stable.
1. Assume that: x[ n] M x for all n
2. Input-output relation:
1
y[n] x[n] x[n 1] x[n 2]
3
1
y[n] x[n] x[n 1] x[n 2]
3
1
x[n] x[n 1] x[n 2] The moving-average
3
system is stable.
1
Mx Mx Mx
3
Mx
Signals_and_Systems_Simon 56
Haykin & Barry Van Veen
CHAPTER
Introduction
Example 1.14 Unstable system
Consider a discrete-time system whose input-output relation is defined by
y[n] r n x[n]
where r > 1. Show that this system is unstable.
<p.f.>
1. Assume that: x[ n] M x for all n
2. We find that
y[n] r n x[n] r n.x[n]
With r > 1, the multiplying factor rn diverges for increasing n.
The system is unstable.
★ 1.8.2 Memory
A system is said to possess memory if its output signal depends on past or
future values of the input signal.
A system is said to possess memoryless if its output signal depends only on
the present values of the input signal.
Signals_and_Systems_Simon 57
Haykin & Barry Van Veen
CHAPTER
Introduction
1
Ex.: Resistor i (t ) v(t ) Memoryless !
R
1 t
Ex.: Inductor i (t ) v( )d Memory !
L
Ex.: Moving-average system
1
y[n] ( x[n] x[n 1] x[n 2]) Memory !
3
Ex.: A system described by the input-output relation
y[n] x 2 [n] Memoryless !
★ 1.8.3 Causality
A system is said to be causal if its present value of the output signal depends
only on the present or past values of the input signal.
A system is said to be noncausal if its output signal depends on one or more
future values of the input signal.
Signals_and_Systems_Simon 58
Haykin & Barry Van Veen
CHAPTER
Introduction
Ex.: Moving-average system
1
y[n] ( x[n] x[ n 1] x[n 2]) Causal !
3
Ex.: Moving-average system
1
y[n] ( x[n 1] x[n] x[n 1]) Noncausal !
3
A causal system must be capable of operating in real time.
time
★ 1.8.4 Invertibility
A system is said to be invertible if the
input of the system can be recovered
from the output.
Figure 1.54 (p. 59)
1. Continuous-time system: Fig. 1.54.
1.54 The notion of system invertibility. The
x(t) = input; y(t) = output second operator H inv is the inverse of the
H = first system operator; first operator H. Hence, the input x(t) is
H inv = second system operator passed through the cascade correction of
H and H inv completely unchanged.
Signals_and_Systems_Simon 59
Haykin & Barry Van Veen
CHAPTER
Introduction
2. Output of the second system: H inv = inverse
H inv y (t ) H inv H x(t ) H inv H x (t ) operator
Signals_and_Systems_Simon 60
Haykin & Barry Van Veen
CHAPTER
Introduction
Example 1.16 Non-Invertible System
Show that a square-law system described by the input-output relation
y (t ) x 2 (t )
is not invertible.
<p.f.> Since the distinct inputs x(t) and x(t) produce the same output y(t).
Accordingly, the square-law system is not invertible.
★ 1.8.5 Time Invariance
A system is said to be time invariance if a time delay or time advance of the
input signal leads to an identical time shift in the output signal.
A time-invariant system do not change with time.
Signals_and_Systems_Simon 62
Haykin & Barry Van Veen
CHAPTER
Introduction
y1(t) = i(t)
Example 1.17 Inductor
The inductor shown in figure is described
by the input-output relation: 1 t x1(t) = v(t)
L
y1 (t ) x1 ( )d
3. Output: N
y (t ) H {x(t )} H { ai xi (t )} (1.87)
i 1
Signals_and_Systems_Simon 65
Haykin & Barry Van Veen
CHAPTER
Introduction
N
Superposition and
y (t ) ai yi (t ) (1.88) homogeneity
i 1
where
yi ( t ) H {xi ( t )}, i 1, 2, ..., N . (1.89)
4. Commutation and Linearity:
N
y (t ) H { ai xi (t )}
i 1
N
ai H {xi (t )} (1.90) Fig. 1.56
i 1
N
ai yi (t )
i 1
Linear system!
Example 1.20 Nonlinear Continuous-Time System
Consider a continuous-time system described by the input-output relation
y (t ) x(t ) x (t 1)
Show that this system is nonlinear.
<p.f.> N
1. Input: x(t )
ai xi (t )
i 1
2. Output:
N N N N
y (t ) ai xi (t ) a j x j (t 1) ai a j xi (t ) x j (t 1)
i 1 j 1 i 1 j 1
y (t ) i 1 ai yi (t )
N
Here we cannot write Nonlinear system!
Signals_and_Systems_Simon 68
Haykin & Barry Van Veen
CHAPTER
Introduction
Example 1.21 Impulse Response of RC Circuit
For the RC circuit shown in Fig. 1.57,
1.57
determine the impulse response y(t).
<Sol.>
1. Recall: Unit step response Figure 1.57 (p. 66)
RC circuit for Example 1.20, in
y (t ) (1 e t / RC )u (t ), x (t ) u(t ) (1.91)
which we are given the capacitor
2. Rectangular pulse input: Fig. 1.58.
1.58 voltage y(t) in response to the
x(t) = x(t) step input x(t) = y(t) and the
requirement is to find y(t) in
1 response to the unit-impulse input
x1 (t ) u (t ) x(t) = (t).
2 1/
1 Figure 1.58 (p. 66)
x2 (t ) u (t )
2 Rectangular pulse of unit
area, which, in the limit,
3. Response to the step
approaches a unit impulse
functions x1(t) and x2(t): as Δ0.
/2 /2
Signals_and_Systems_Simon 69
Haykin & Barry Van Veen
CHAPTER
Introduction
1 t /( RC )
y1 1 e 2 u
t , x (t ) x1 (t )
2
1 t /( RC )
y2 1 e 2 t ,
u x (t ) x 2 ( t )
2
Next, recognizing that
x (t ) x1 (t ) x2 (t )
1 1
(1 e
( t / 2) /( RC )
)u(t / 2) (1 e
( t / 2) /( RC )
y (t ) )u(t / 2)
1 1
(u(t / 2) u(t / 2)) ( e ( t / 2) /( RC ) u(t / 2) e ( t / 2) /( RC ) )u( t / 2))
i) (t) = the limiting form of the pulse x(t): (1.92)
(t ) lim x (t )
0
Signals_and_Systems_Simon 70
Haykin & Barry Van Veen
CHAPTER
Introduction
ii) The derivative of a continuous function of time, say, z(t):
d 1
z (t ) lim{ ( z (t ) z (t ))}
dt 0 2 2
y (t ) lim y (t )
0
d t /( RC )
(t ) (e u (t ))
dt
(1.92)
t /( RC ) d d t /( RC )
(t ) e u (t ) u (t ) (e )
dt dt
1 t /( RC )
(t ) e t /( RC )
(t ) e u (t ), x(t ) (t )
RC
Cancel each other!
1 t /( RC )
y (t ) e u(t ), x (t ) ( t ) (1.93)
RC
Signals_and_Systems_Simon 71
Haykin & Barry Van Veen
CHAPTER
Introduction
1.9 Noise
Noise Unwanted signals
1. External sources of noise: atmospheric noise, galactic noise, and human-
made noise.
2. Internal sources of noise: spontaneous fluctuations of the current or voltage
signal in electrical circuit. (electrical noise)
Fig. 1.60.
★ 1.9.1 Thermal Noise
Thermal noise arises from the random motion of electrons in a conductor.
Two characteristics of thermal noise:
1. Time-averaged value: 2T = total observation interval of noise
1 T
v lim
T 2T T
v (t )dt (1.94) As T , v 0 Refer to Fig. 1.60.
2. Time-average-squared value: k = Boltzmann’s constant =
1 T 1.38 10 23 J/K
v 2 lim
T 2T T
v 2 (t )dt (1.95) Tabs = absolute temperature
As T , v 2 4kTabs Rf volts 2 (1.96)
Signals_and_Systems_Simon 72
Haykin & Barry Van Veen
CHAPTER
Introduction
Figure 1.60
(p. 68)
Sample waveform
of electrical noise
generated by a
thermionic diode
with a heated
cathode. Note
that the time-
averaged value of
the noise voltage
displayed is
approximately
zero.
Signals_and_Systems_Simon 73
Haykin & Barry Van Veen
CHAPTER
Introduction
Thevenin’s equvalent circuit: Fig. 1.61(a), Norton’s equivalent circuit:
Fig. 1.61(b).
Noise voltage generator:
v (t ) v 2
Noise current generator:
1 T v(t ) 2
T 2T T
i 2 lim ( ) dt
R (1.97)
4kTabsGf amps 2
where G = 1/R = conductance [S].
Maximum power transfer
theorem: the maximum Figure 1.61 (p. 70)
possible power is transferred (a) Thévenin equivalent circuit of a noisy resistor.
(b) Norton equivalent circuit of the same resistor.
from a source of internal
resistance R to a load of
resistance Rl when R = Rl.
Under matched condition, the available power is
kTabs f watts
Signals_and_Systems_Simon 74
Haykin & Barry Van Veen
CHAPTER
Introduction
Two operating factor that affect available noise power:
1. The temperature at which the resistor is maintained.
2. The width of the frequency band over which the noise voltage across the
resistor is measured.
★ 1.9.2 Other Sources of Electrical Noise
1. Shot noise: the discrete nature of current flow electronic devices
2. Ex. Photodetector:
1) Electrons are emitted at random times, k, where < k <
2) Total current flowing through photodetector:
x(t ) h(t
k
k ) (1.98)
Signals_and_Systems_Simon 75
Haykin & Barry Van Veen
CHAPTER
Introduction
1.10 Theme Example
★ 1.10.1 Differentiation and Integration: RC Circuits
1. Differentiator Sharpening of a pulse
x(t) y(t)
d differentiator
y (t ) x(t ) (1.99)
dt
1) Simple RC circuit: Fig. 1.62.
1.62
2) Input-output relation:
d 1 d
v2 (t ) v2 (t ) v1 (t ) (1.100)
dt RC dt Figure 1.62 (p. 71)
If RC (time constant) is small enough Simple RC circuit with small time
such that (1.100) is dominated by the constant, used as an approximator
second term v2(t)/RC, then to a differentiator.
1 d d
v2 (t ) v1 (t ) v2 (t ) RC v1 (t ) for RC small (1.101)
RC dt dt
Signals_and_Systems_Simon 76
Haykin & Barry Van Veen
CHAPTER
Introduction
Input: x(t) = RCv1(t); output: y(t) = v2(t)
2. Integrator smoothing of an input signal
t x(t) y(t)
y (t )
x( )d (1.102) integrator
1) Simple RC circuit: Fig. 1.63.
1.63
2) Input-output relation:
d
RC v2 (t ) v2 (t ) v1 (t )
dt
t t
RCv2 (t ) v2 ( )d v1 ( )d (1.103)
Signals_and_Systems_Simon 78
Haykin & Barry Van Veen
CHAPTER
Introduction
d 2 y (t ) n dy (t )
(1.105) 2
n y (t ) x (t )
2
(1.108)
dt Q dt
★ 1.10.3 Radar Range Measurement
1. A periodic sequence of radio frequency (RF) pulse: Fig. 1.65.
1.65
T0 = duration [sec], 1/T = repeated frequency, fc = RF frequency [MHz~GHz]
The value N determines the degree to which the system smooths the input
data.
Signals_and_Systems_Simon 80
Haykin & Barry Van Veen
CHAPTER
Introduction
Figure 1.66a
(p. 75)
(a) Fluctuations in
the closing stock
price of Intel over
a three-year
period.
Signals_and_Systems_Simon 81
Haykin & Barry Van Veen
CHAPTER
Introduction
Figure 1.66b
(p. 76)
(b) Output of a
four-point
moving-average
system.
N = 4 case
Signals_and_Systems_Simon 82
Haykin & Barry Van Veen
CHAPTER
Introduction
Figure 1.66c
(p. 76)
(c) Output of an
eight-point
moving-average
system.
N = 8 case
Signals_and_Systems_Simon 83
Haykin & Barry Van Veen
CHAPTER
Introduction
2. For a general moving-average system, unequal weighting is applied to past
values of the input:
N 1
y[n] ak x[n k ] (1.111)
k 0
y (t ) i x(t iTdiff ) (1.112)
i 0
Tdiff = smallest time difference
between different path
Signals_and_Systems_Simon 84
Haykin & Barry Van Veen
CHAPTER
Introduction
Signals_and_Systems_Simon 88
Haykin & Barry Van Veen
CHAPTER
Introduction
y[ n] x[n] y[n 1]
3. Three special cases (depending on ):
Accumulator
1) = 1:
(1.116) y[n] x[n k ] (1.119)
k 0
Ex. Obtain the discrete-time square wave shown in Fig. 1.16 by using MATLAB.
<Sol.>
>> A = 1;
>> omega =pi/4;
>> n = -10:10;
>> x = A*square(omega*n);
>> stem(n, x)
4. Decaying exponential: B*exp(-a*t); Growing exponential: B*exp(a*t);
Ex. Obtain the decaying exponential signal shown in Fig. 1.28 (a) by using
MATLAB.
<Sol.> >> B = 5;
>> a = 6;
>> t = 0:.001:1;
>> x = B*exp(-a*t); % decaying exponential
>> plot (t, x)
Signals_and_Systems_Simon 91
Haykin & Barry Van Veen
CHAPTER
Introduction
Ex. Obtain the growing exponential signal shown in Fig. 1.28 (b) by using
MATLAB.
<Sol.>
>> B = 1;
>> a = 5;
>> t = 0:0.001:1;
>> x = B*exp(a*t); % growing exponential
>> plot (t, x)
Ex. Obtain the decaying exponential sequence shown in Fig. 1.30 (a) by using
MATLAB.
<Sol.>
>> B = 1;
>> r = 0.85;
>> n = -10:10;
>> x = B*r.^n; % decaying exponential sequence
>> stem (n, x)
★ 1.11.3 Sinusoidal Signals A = amplitude, w0 =
1. Cosine signal: 2. Sine signal: frequency, phi =
phase angle
A*cos(w0*t + phi); A*sin(w0*t + phi);
Signals_and_Systems_Simon 92
Haykin & Barry Van Veen
CHAPTER
Introduction
Ex. Obtain the sinusoidal signal shown in Fig. 1.31 (a) by using MATLAB.
<Sol.> >> A = 4;
>> w0 =20*pi;
>> phi = pi/6;
>> t = 0:.001:1;
>> cosine = A*cos(w0*t + phi);
>> plot (t, cosine)
Ex. Obtain the discrete-time sinusoidal signal shown in Fig. 1.33 by using
MATLAB.
<Sol.>
>> A = 1;
>> omega =2*pi/12; % angular frequency .* element-by-element
>> n = -10:10; multiplication
>> y = A*cos(omega*n);
>> stem (n, y)
★ 1.11.4 Exponential Damped Sinusoidal Signals
1. Exponentially damped sinusoidal signal:
x (t ) A sin( 0t )e at MATLAB Format: A*sin(w0*t + phi).*exp(-a*t);
Signals_and_Systems_Simon 93
Haykin & Barry Van Veen
CHAPTER
Introduction
Ex. Obtain the waveform shown in Fig. 1.35 by using MATLAB.
<Sol.> >> A = 60;
>> w0 =20*pi;
>> phi = 0;
>> a = 6;
>> t = 0:.001:1;
>> expsin = A*sin(w0*t + phi).*exp(-a*t);
>> plot (t, expsin)
Ex. Obtain the exponentially damped sinusoidal sequence shown in Fig. 1.70 by
using MATLAB.
<Sol.>
>> A = 1;
>> omega =2*pi/12; % angular frequency
>> n = -10:10;
>> y = A*cos(omega*n);
>> r = 0.85;
>> x = A*r.^n; % decaying exponential sequence
>> z = x.*y; % elementwise multiplication
>> stem (n, z)
Signals_and_Systems_Simon 94
Haykin & Barry Van Veen
CHAPTER
Introduction
Signals_and_Systems_Simon 96
Haykin & Barry Van Veen
CHAPTER
Introduction
1) It begins with a statement defining the function name, its input arguments, and
its output arguments.
2) It also includes additional statements that compute the values to be returned.
3) The inputs may be scalars, vectors, or matrices.
Ex. Obtain the rectangular pulse depicted in Fig. 1.39 (a) with the use of an
M-file.
<Sol.> 1. The function size returns a two-
>> function g = rect(x) element vector containing the row
>> g = zeros(size(x)); and column dimensions of a matrix.
>> set1 = find(abs(x)<= 0.5); 2. The function find returns the
>> g(set1) = ones(size(set1)); indices of a vector or matrix that
satisfy a prescribed relation
3. The new function rect.m can be used
liked any other MATLAB function.
Ex. To generate a rectangular pulse: Ex. find(abs(x)<= T) returns the indices
of the vector x, where the absolute
>> t = -1:1/500:1; value of x is less than or equal to T.
>> plot(t, rect(t));
Signals_and_Systems_Simon 97
Haykin & Barry Van Veen
CHAPTER
Introduction
Signals_and_Systems_Simon 98
Haykin & Barry Van Veen