Ch1.Continuous-Time Signals
Ch1.Continuous-Time Signals
Signals
g and Systems
y
Ch1: Continuous-Time Signals
Instructor
Ib hi N
Ibrahim N. Ab
Abu-Isbeih
Abu- I b ih
Email: [email protected]
Website: www.abusbeih.com/ecourse
1.1 Introduction:
• Example:
p
x(t)
t
Fig 1.1
3 Signals & Systems - CH.1 Eng. Ibrahim Abu-Isbeih
Example:
C
Continuous-Time
T Signal
S l (Speech
(S h&d
dual-tone)
l )
n
-3 -2 -1 0 1 2 3 4 5 6
Fig 1.2
12
Fig.1.3
g shows the block diagrams
g of
continuous-time and discrete-time systems
with input signal x and output signal y:
Fig 1.3
Fig. 13
7 Signals & Systems - CH.1 Eng. Ibrahim Abu-Isbeih
Examples:
- Continuous-time systems:
y(t)
(t) = x(t)
(t) + x(t-1)
(t 1) and
d y(t)
(t) = x2(t)
- Di
Discrete-time
t ti systems:
t
y[n] = x[n] + x[n-1] and y[n] = x2[n]
x (t) N
System y (t) M
Fig. 1.4
8 Signals & Systems - CH.1 Eng. Ibrahim Abu-Isbeih
Example: An Electrical Circuit System
R
vs (t ) vc (t )
i (t )
R
i dv (t )
vs + vc i (t ) C c
- C dt
dvc (t ) 1 1
vc (t ) vs (t )
dt RC RC
vs, vc
vs(t) vc(t)
first order
system
y t
E n n x[n]
n2 2
Note
N t th
thatt these
th are similar
i il tto th
the electrical
l t i l analogies
l i
(voltage), but they are different, both value and dimension.
1
N 2
P lim N x[ n ]
2 N 1 n N
Two important (sub)classes of signals
1. Finite total energy (and therefore zero average power)
2. Finite average power (and therefore infinite total energy)
Signal analysis over infinite time, all depends on the “tails” (limiting
behaviour)
12 Signals & Systems - CH.1 Eng. Ibrahim Abu-Isbeih
1.2 Basic Continuous-
Continuous-Time Signals:
g
In this section, we will define the followingg
Basic continuous-time signals to be utilized
in our studies:
Unit-Step Function
Unit-Impulse (Dirac Delta) Function
Ramp Function
E
Exponential l SSignals
l
Sinusoidal Signals
1, t 0
u (t ) 1
0 t 0
0,
0 t
Fig.1
thatt u(t ) is
N t th
Note i discontinuous
di ti att t = 0.
0
0 T t
Fig.2
g
Example:
p(t)
( ) = u(t)
( ) - u(t-3)
( 3) p(t) = u(t) - u(t-3)
0 3 t
15 Signals & Systems - CH.1 Eng. Ibrahim Abu-Isbeih
1 2 2 Unit Impulse Function
1.2.2
The unit-impulse (Dirac delta) function is defined as follows:
Area
δt
1.
1 (t ) 0 for t 0 1
2. (t ) undefined for t 0
3.
(t ) dt 1 (unit area)
0 t
Fig 3
Fig.3
Note: The “1” written beside the arrow indicates that the “area” of the
impulse is unity.
x(t ) 2u (t 3) 3u (t 2) 4u (t 6) x(t )
5
2
1
-3 0 2 6 t
dx(t )
dx(t ) dt
2 (t 3) 3 (t 2) 4 (t 6)
dt 3
2
-33 0 2 6 t
The derivative of x(t) is zero except at the discontinuities -4
The scaled-impulse
scaled impulse function k(t) is the derivative
of the scaled unit step ku(t):
k (t )
d
k (t ) (k u (t )) k
dt
0 t
Example:
5 (t )
d
5 (t ) (5u (t )) 5
dt
0 t
0 t0 t
x (t ) (t t 0 )
x (t 0 )
0 t0 t
x(t ) (t t0 )dt x(t 0 )
In general,
t2 x(t0 ) , t1 t0 t 2
t1
x(t ) (t t0 )dt
0 , elsewhere
e 3t t 4 dt x (4) e 12
10
e 3t t 4 dt x (4) e 12
2
10
e t 4 dt 0
3t
6
10
e t 4 dt x (4) e
3t 12
10
t
0 1
• Equivalently, we may write:
r (t ) t u (t )
dr (t )
u (t )
dt
And the ramp function is obtained by integrating
the unit step
p function:
t
r (t ) u ( ) d
x(t)
x(t ) 2r (t 3) 3r (t ) r (t 6)
6
-3 0 6 t
dx(t ) dx(t )
2u (t 3) 3u (t ) u (t 6)
dt 2 dt
-3 0 6 t
-1
t 0
t
0
(a) ( )
(b)
x(t)
= 0
A
0
t
(c)
Fig 1 Real Exponential Signals
Fig.
2 2
t t
0 0
(a) (b)
x(t ) 2
2
t
0
(c)
Fig.
i 2 Examples
l off Reall Exponentiall Signals
l
29 Signals & Systems - CH.1 Eng. Ibrahim Abu-Isbeih
1 2 5 Sinusoidal Signals:
1.2.5
Complex exponential or sinusoidal:
is purely imaginary)
Fi 1 Real
Fig. R l sinusoid
i id
31 Signals & Systems - CH.1 Eng. Ibrahim Abu-Isbeih
Periodic signals:
Anyy continuous-time signal
g x(t) that satisfies the
condition
T) = x(t) ,
x(tt+T for all t
where the smallest positive value of T known as the
fundamental period of the signal x(t),) is classified as a
periodic signal.
2 1
T
0 f0
a- The p
period of the signal
g x(t ) 3 cos((400t 3) is
2 1
T
400 200
b- The period of the signal x(t ) 6 sin(8000t 4) is
2 1
T
8000 4000
cc- The period of the signal x(t ) 3 e j (500t ) is
2 1
T
500 250
If r j0 and A A e j
then
j ( r j 0 ) t
x(t ) A e e
A e rt e j (0t )
A e rt [cos(0t ) j sin(0t )]
rt
where e is the damping factor.
factor
35 Signals & Systems - CH.1 Eng. Ibrahim Abu-Isbeih
Th reall valued
The l d signals
i l R A
Re
Ae t A e rt cos((0t )
for r 0 and r 0 are shown in Fig.2
x(t)
r >0
a
x(t)
r <0
- Time Reversal
- Time Scaling
- Time Shifting
- Combinations
x (t ) x((-t)
t t
Fig.1
-4 6
t
0
x(2t)
7
a = 2 : Time Compression
-2 0 3
t
x(t/2)
a = 1/2 : Time
Ti Stretching
S hi
7
t
-8 0 12
(t / a) a (t )
Example:
a t / 3 3 (t )
1
b (2t ) (t )
2
t
-4 0 6
x((t-2))
t0 > 0: Shift to the right
7
t
-2 0 8
t0 < 0: Shift to the left
x(t+2)
7
t
-6 0 4
t
-4 0 6
Fig.4
45 Signals & Systems - CH.1 Eng. Ibrahim Abu-Isbeih
Solution:
a- To sketch y(t) = x(-2t+6) = x(-2(t-3))
Step(1): Plot x(-2t) x(-2t)
2
-3 0 2
t
0 3 5
t
46 Signals & Systems - CH.1 Eng. Ibrahim Abu-Isbeih
Solution:
b- To sketch w(t) = x(2t+4)= x(2(t+2))
Step(1): Plot x(2t) x(2t)
2
-2 0 3
t
t
-4 -2 0 1
47 Signals & Systems - CH.1 Eng. Ibrahim Abu-Isbeih
1.3.5
1 3 5 Signal Symmetries:
A real-valued signal x(t) is said to be:
• Even if x(t) = x(-t)
• Odd if x(t) = - x(-t) and x((0)) = 0
x t cos ω t
- t
Th signals
The i l andd ( )e
x(t) are even.
where
where
a- x t cos( t ) cos( t ) x(t )
and
- -t - t
b- x(t ) e e x(t )
where
where
a- x t sin ( ω t) sin( ω t ) x(t )
and
b
b- x t t x(t )
b
b- xt sin
i t
c- xt u (t )
g xt u (t )
c- For the signal
the even part
1
Ev{x(t)} x(t) x(-t) 1 u (t ) u ( t )
2 2
and the odd part
1 1
Od{x(t)} x(t) x(-t) u (t ) u ( t )
2 2
The
h even and
d odd
dd parts off the
h signall x(t)=u(t) are shown
h in
Fig.1
u(-t) Od[u(t)]
1
Od{x(t)} x(t) x(-t) 1 u (t ) u ( t )
2 2 1/2
1
t t
0
0
-1/2
Fig.1:
g The even and odd p
parts of the signal
g x(t))=u(t)
y (t ) x(t ) h(t )
The symbol is used to denote the convolution
operation
p
57 Signals & Systems - CH.1 Eng. Ibrahim Abu-Isbeih
A convolution is an integral that expresses the
amount of overlap of one function h(t) as it is
shifted over another function x(t).
The convolution of two continuous-time signals
x(t) and h(t) to produce a new signal y(t) is
defined by:
y (t ) x(t ) h(t )
x( ) h(t ) d
-
x(t t0 )
That is the convolution of an arbitrary signal x(t) with
a shifted
hif d impulse
i l (t-t0) is i the
h shifted i l x(t-t0).
hif d signal )
In particular, for t0=0, we have simply:
x(t ) (t ) x(t )
For example
e 4t (t 3) e 4 (t 3)
60 Signals & Systems - CH.1 Eng. Ibrahim Abu-Isbeih
IIn this
hi section,
i we will
ill define
d fi and d practice
i convolution
l i
purely as a mathematical operation so that we will be
more comfortable
f bl withi h its
i application
li i to linear
li
systems in subsequent sections.
y (t ) x(t ) h(t )
x( ) h(t ) d
-
Step 2 Step 1
Step 3
Step
p 4: repeat
p p ((1-3)) for all values of t from -∞ to ∞
steps
Solution:
y (t ) x(t ) h(t ) x( ) h(t ) d
-
Graph x(t) and h(t)
x(t) h(t)
1 1
t t
0 0
1 1
0 0
Graph h(- )
h( )
h(-)
1
0
0
Graphp h(t-) for t < 0 :
- For t < 0: the nonzero portions of x() and h(t-) do not
overlap, and thus
y ( t) = 0 h(t-)
1 t<0
t 0
Graph h(t-) for t ≥ 0 : 0
- For t ≥ 0: the nonzero portions of x() and h(t-) do
overlap from the beginning of x() at = 0 to the end
off h(t-) at = t, andd thus
h
h(t )
h(t-)
y (t ) x( )h(t )d
1
t t≥0
(1)(1)d
0
0 t
t
69 Signals & Systems - CH.1 Eng. Ibrahim Abu-Isbeih
Therefore the convolution of x(t))=u(t) and h(t))=u(t)
produces the ramp function:
0, t0
y (t ) r (t )
t, t0
t u (t )
y(t)=r(t)
1
0
x(t) h(t)
1 1
*
t t
0 3 0 5
3
0 0 5
p h((-) and h(t-)
Graph
h(-) h(t-)
1 1
-5 0 t-5 t 0
72 Signals & Systems - CH.1 Eng. Ibrahim Abu-Isbeih
Solution: Convolution can be divided into 5 parts
p
h(t-)x()
I. For t < 0:
- Two
T ffunctions
ti d
do 1
not overlap
- Area
A under
d theh
t-5 t 0 3
product of the functions is zero, then y(t)=0
II. For 0 t < 3:
h(t-) x()
- Part of x() overlaps
1
part of h(t-)
- Area under the p product
of the functions is
t t-5 0 t 3
y (t ) (1)(1)d 0 t
t
t 5
74 Signals & Systems - CH.1 Eng. Ibrahim Abu-Isbeih
x() h(t-)
V. For t ≥ 8:
1
- Two functions do
not overlap
- Area under the 0 3 t-5 5 8 t
y(t)
0 for t 0
t for 0 t 3
3
y (t ) x(t ) * h(t ) 3 for 3 t 5
8 t for 5 t 8
t
0 for t 8 0 3 5 8
Solution:
Graph x(t) and h(t)
h(t)
x(t)
2
1
*
0 1 2 3 4 t 0 1 2 t
-1
0 1 2 3 4 0 1 2
-1
h(t-)
G h h(t-)
Graph
1
t-2 t 0
-1
77 Signals & Systems - CH.1 Eng. Ibrahim Abu-Isbeih
Solution: Convolution
Con olution can be di
divided
ided into 6 parts
y (t ) x(t ) h(t ) x( ) h(t ) d
-
t-2 0 t 2 3 4
1
0 2 t 3 4
0 1 2 3 t 4
2 h(t-)
0 1 2 3 4 t
2t 8
81 Signals & Systems - CH.1 Eng. Ibrahim Abu-Isbeih
V. For 5 t < 6: x()
2 h(t-)
0 1 2 3 4 t
4
y (t ) 2 d 2[ ] t 42 2(4 (t 2))
t 2
2t 12
82 Signals & Systems - CH.1 Eng. Ibrahim Abu-Isbeih
VI. For t ≥ 6: x()
2 h(t-)
1 2 3 4 t
0
0 for t2
2t 4 for 2t 3
2t 8 for 3t 4
y (t ) x(t ) * h(t )
2t 8 for 4t 5
2t 12 for 5 t 6
0 for t 6
y(t)
t
0 1 2 3 4 5 6
-2
y (t ) h(t ) x(t ) h( ) x(t ) d
-
Solution:
Graph x(t) and h(t)
h (t )
x (t )
e 3t
1
t
* t
0 0
0 0
G h x(t-)
Graph x(t-)
1
t 0
87 Signals & Systems - CH.1 Eng. Ibrahim Abu-Isbeih
Solution: Convolution
Con olution can be divided
di ided into ttwo
o parts
y (t ) h(t ) x(t ) h( ) x(t ) d
-
I. For t < 0: x(t-)
h()
1
t 0
1 h()
0 t
y (t )
1
3
t
0
andd similarly
i il l for h areas Ah andd Ay,
f the
e Ay =Ax Ah
tthen
6. Time scaling:
1
x(at ) h(at ) y (at ) for a 0
a
Examples:
7. Time reversal:
x(t ) h(t ) y (t )
Examples:
1
x(ct ) h(ct ) y (ct )
c
Example:
1
x(3t ) h(3t ) y (3t )
3
1
y (3t )
3
8. Time shifting:
x(t t1 ) h(t t 2 ) y (t t1 t 2 )
Examples:
a. x(t 1) h(t 6) y (t 1 6)
y (t 7)
b. u (t 2) u (t 5) r (t 2 5)
r (t 3)
98 Signals & Systems - CH.1 Eng. Ibrahim Abu-Isbeih
1.4.2 Convolution Properties:
produces a right
right-sided
sided signal y(t) that
is zero for t < t1+t as illustrated in Fig.1
2
x ( t)
t
t1
* h(t)
h ( t)
t
t2
y(t)
y ( t)
t
t1 t 2
100 Signals & Systems - CH.1 Eng. Ibrahim Abu-Isbeih
1 4 2 Convolution
1.4.2 C l i Properties:
P i
x ( t)
t
t3
* h(t)
h ( t)
t
t4
y(t)
y ( t)
t
t3 t 4
x(t)
Tx = t3 - t1
x ( t)
t
t1 t3
* h(t)
h ( t) Th = t4 - t2
t
t2 t4
y(t)
Ty = Tx+Th
y ( t)
t
t1 t 2 t3 t 4