Docsity

New Microsoft Word Document New Microsoft Word Document, Assignments of Data Mining

Toggle sidebar
bg1
ELG 3120 Signals and Systems Chapter 1
1/1 Yao
Chapter 1 Signal and Systems
1.1 Continuous-time and discrete-time Signals
1.1.1 Examples and Mathematical representation
Signals are represented mathematically as functions of one or more independent variables. Here
we focus attention on signals involving a single independent variable. For convenience, this will
generally refer to the independent variable as time.
There are two types of signals: continuous-time signals and discrete-time signals.
Continuous-time signal: the variable of time is continuous. A speech signal as a function of
time is a continuous-time signal.
Discrete-time signal: the variable of time is discrete. The weekly Dow Jones stock market index
is an example of discrete-time signal.
To distinguish between continuous-time and discrete-time signals we use symbol t to denote the
continuous variable and n to denote the discrete-time variable. And for continuous-time signals
we will enclose the independent variable in parentheses (•), for discrete-time signals we will
enclose the independent variable in bracket [•].
A discrete-time signal ][nx may represent a phenomenon for which the independent variable is
inherently discrete. A discrete-time signal ][nx may represent successive samples of an
underlying phenomenon for which the independent variable is continuous. For example, the
processing of speech on a digital computer requires the use of a discrete time sequence
representing the values of the continuous-time speech signal at discrete points of time.
t
x(t)
Fig. 1.1 Graphical representation of continuous-
time signal.
n
x[n]
x[0]
x[1]
x[2]
x[-1]
x[-2]
0 1 2
3 4 5
-1-2
-3-4-5
Fig. 1.2 Graphical representation of discrete-time
signal.
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e

Partial preview of the text

Download New Microsoft Word Document New Microsoft Word Document and more Assignments Data Mining in PDF only on Docsity!

Chapter 1 Signal and Systems

1.1 Continuous-time and discrete-time Signals

1.1.1 Examples and Mathematical representation

Signals are represented mathematically as functions of one or more independent variables. Here we focus attention on signals involving a single independent variable. For convenience, this will generally refer to the independent variable as time.

There are two types of signals: continuous-time signals and discrete - time signals.

Continuous-time signal : the variable of time is continuous. A speech signal as a function of time is a continuous-time signal.

Discrete-time signal : the variable of time is discrete. The weekly Dow Jones stock market index is an example of discrete-time signal.

To distinguish between continuous-time and discrete-time signals we use symbol t to denote the continuous variable and n to denote the discrete-time variable. And for continuous-time signals we will enclose the independent variable in parentheses (•), for discrete-time signals we will enclose the independent variable in bracket [•].

A discrete-time signal x [ n ] may represent a phenomenon for which the independent variable is

inherently discrete. A discrete-time signal x [ n ] may represent successive samples of an underlying phenomenon for which the independent variable is continuous. For example, the processing of speech on a digital computer requires the use of a discrete time sequence representing the values of the continuous-time speech signal at discrete points of time.

t

x(t)

Fig. 1.1 Graphical representation of continuous- time signal.

n

x[n]

x[0]

x[1] x[2]

x[-1] x[-2]

0 1 2

3 4 5 -2 -

-5 -4 -

Fig. 1.2 Graphical representation of discrete-time signal.

1.1.2 Signal Energy and Power

If v ( t )and i ( t ) are respectively the voltage and current across a resistor with resistance R , then the instantaneous power is

( ) ()() v^2 t R

p t = vtit =. (1.1)

The total energy expended over the time interval t 1 (^) ≤ t ≤ t 2 is

∫ = ∫^

2 1

2 1

( )^2

t t

t t p^ t dt Rv tdt ,^ (1.2)

and the average power over this time interval is

− ∫^ = −^ ∫

2 1

2 1

2 1 2 1

t t

t t t t^ ptdt t t Rv t dt.^ (1.3)

For any continuous-time signal x ( t ) or any discrete-time signal x [ n ], the total energy over the

time interval t 1 (^) ≤ t ≤ t 2 in a continuous-time signal x ( t )is defined as

∫

2 1

2 ( )

t t x^ t dt ,^ (1.4)

where x denotes the magnitude of the (possibly complex) number x. The time-averaged power

is (^) ∫ −

2 1

2 2 1

1 t t xt dt t t

. Similarly the total energy in a discrete-time signal x [ n ]over the time

interval n 1 (^) ≤ n ≤ n 2 is defined as

∑

2

1

2 [ ]

n

n

x n (1.5)

The average power is (^) ∑ − +

2

1

2 2 1

[ ]

1 n n

x n n n

In many systems, we will be interested in examining the power and energy in signals over an infinite time interval, that is, for − ∞≤ t ≤+∞ or − ∞≤ n ≤+∞. The total energy in continuous time is then defined

E xt dt xt dt

T T T

2 2 lim (^) ∫ () ∫ ( )

∞ ∞ (^) →∞ − −∞

n

x[n]

n

x[n-n 0 ]

n 0

(a) (b)

Fig.1.3 Discrete-time signals related by a time shift.

t

x(t)

t

x(t-t 0 )

t 0

Fig. 1.4 Continuous-time signals related by a time shift.

n

x[n]

n

x[-n]

(a) (b)

Fig. 1.5 (a) A discrete-time signal x [ n ]; (b) its reflection, x [ − n ]about n = 0.

t

x(t)

0

t

x(-t)

0 (a) (b)

Fig. 1.6 (a) A continuous-time signal x ( t ); (b) its reflection, x ( − t )about t = 0.

x(t)

t

t

x(2t)

0 (a) (b) x(t/2)

0

t

(c)

Fig. 1.7 Continuous-time signals related by time scaling.

1.2.2 Periodic Signals

A periodic continuous-time signal x ( t ) has the property that there is a positive value of T for which

x ( t )= x ( t + T )for all t (1.11)

From Eq. (1.11), we can deduce that if x ( t ) is periodic with period T , then x ( t )= x ( t + mT )for

all t and for all integers m. Thus, x ( t ) is also periodic with period 2 T , 3 T , …. The fundamental

period T 0 of x ( t )is the smallest positive value of T for which Eq. (1.11) holds.

t

x(t)

Fig. 1.8 Continuous-time periodic signal.

{ } [ () ( )] 2

EV x ( t ) = xt + x − t (1.13)

which is referred to as the even part of x ( t ). Similarly, the odd part of x ( t )is given by

{ } [ () ( )] 2

OD x ( t ) = xt − x − t (1.14)

Exactly analogous definitions hold in the discrete-time case.

n

x[n]

1

  < = ≥ 0 , 0 [ ]^1 ,^0 n xn n

n

x[n]

1 2 1

{ } 

 

 

>

=

<

21 ,^0

1 , 0

, 0 2

1

[] n

n

n EVxn

(a) (b)

n

x[n]

2

1

2 −^1

 

 

>

=

− <

, 0 2

1

0 , 0

, 0 2

1

[] n

n

n ODxn

(c)

Fig.1.11 The even-odd decomposition of a discrete-time signal.

1.3 Exponential and sinusoidal signals

1.3.1 Continuous-time complex exponential and sinusoidal signals

The continuous-time complex exponential signal

x ( t )= Ce^ at (1. 15)

where C and a are in general complex numbers.

Real exponential signals

t

x(t)

C

t

x(t)

C

(a) (b)

Fig. 1.12 The continuous-time complex exponential signal x ( t )= Ceat , (a) a > 0 ; (b) a < 0.

Periodic complex exponential and sinusoidal signals

If a is purely imaginary, we have

x ( t ) = ej ω^0^ t (1.16)

An important property of this signal is that it is periodic. We know x ( t )is periodic with period T if

e j^ ω^0 t^ = ej ω^0 ( t^ + T )= ej ω^0 tej ω^0^ T (1.17)

For periodicity, we must have

e j ω^0 T = 1 (1.18)

For ω (^) 0 ≠ 0 , the fundamental period T 0 is

0

0

ω

π T = (1.19)

Thus, the signals e j ω^0 t and e −^ j ω^0 t have the same fundamental period.

A signal closely related to the periodic complex exponential is the sinusoidal signal

x ( t )= A cos(ω 0 t +φ ) (1.20)

With seconds as the unit of t , the units of φ and ω 0 are radians and radians per second. It is also

known ω (^) 0 = 2 π f 0 , where f (^) 0 has the unit of circles per second or Hz.

Since there are an infinite number of periods t asranges from − ∞to + ∞, the total energy integrated over all time is infinite. The average power is finite since

lim

2 = 0 = P ∞ (^) (^) →∞ T ∫− e dt

T T

j t T

ω (^) (1.27)

Harmonically related complex exponentials:

jk t k ( t^^^ ) e^0 φ = ω , k = 0 , ± 1 ,± 2 ,...... (1.28)

ω (^) 0 is the fundamental frequency.

Example:

Signal x ( t )= ej^^2 t + ej^3 t can be expressed as x ( t )= ej^^2.^5 t ( e −^ j^0.^5 t + ej^0.^5 t )= 2 ej^2.^5 t cos( 0. 5 t ), the

magnitude of x ( t )is x ( t )= 2 cos( 0. 5 t ), which is commonly referred to as a full-wave rectified

sinusoid, shown in Fig. 1.14.

t 0

2

x ( t )

− 4 π − 2 π 2 π 4 π

Fig. 1.14 Full-wave rectified sinusoid.

General complex Exponential signals

Consider a complex exponential Ce at , where C = C ejθ is expressed in polar and a = r + jω 0 is

expressed in rectangular form. Then

Ce at^ = Cejθ^ e (^ r +^ jω^0 ) t = Certej ( ω^0 t + θ )= Cert cos( ω 0 t + θ )+ jCert sin( ω 0 t + θ ). (1.29)

Thus, for r = 0 , the real and imaginary parts of a complex exponential are sinusoidal. For r > 0 , sinusoidal signals multiplied by a growing exponential. For r < 0 , sinusoidal signals multiplied by a decaying exponential.

Damped signal – Sinusoidal signals multiplied by decaying exponentials are commonly refereed to as damped signal.

t

x(t)

t

x(t)

(a) (b)

Fig. 1.15 (a) Growing sinusoidal signal; (b) decaying sinusoidal signal.

1.3.2 Discrete-time complex exponential and sinusoidal signals

A discrete complex exponential or sequence is defined by

x [ n ]= Cα^ n , (1.30)

where C and α are in general complex numbers. This can be alternatively expressed

x [ n ] = Ceβ^ n , (1.31)

where α = eβ.

Real Exponential Signals

If C and α are real, we have the real exponential signals.

x[n]

n

x[n]

n

(a) (b) x[n]

n

x[n]

n

(c) (d)

Fig.1.17 Discrete-time sinusoidal signal.

General Complex Exponential Signals

Consider a complex exponential Cα n , where C = C ejθ and α = α e j ω^0 , then

C α = Cα cos( ω 0 n + θ )+ jCα sin j ( ω 0 n + θ ) n n n

. (1.37)

Thus, for α = 1 , the real and imaginary parts of a complex exponential are sinusoidal.

For α < 1 , sinusoidal signals multiplied by a decaying exponential.

For α > 1 , sinusoidal signals multiplied by a growing exponential.

(a) (b)

Fig. 1.18 (a) Growing sinusoidal signal; (b) decaying sinusoidal signal.

1.3.3 Periodicity Properties of Discrete-Time Complex Exponentials

There are a number of importantdifferences between continuous-time and discrete-time

sinusoidal signals. The continuous-time signals e j ω^0 t are distinct for distinct values of ω (^) 0. For

discrete-time signals, however, these values are not distinct because the signal ω with 0 is

identical to the signals with frequencies ω (^) 0 ± 2 π , ω (^) 0 ± 4 π , and so on,

e j^ (^ ω^^0 ±^2 π ) n = ej ( ω^0 ±^4 π ) n = ejω^0^ n. (1.38)

In considering discrete-time exponentials, we need only consider a frequency interval of 2 π. In

most occasions, we will use the interval 0 ≤ ω (^) 0 < 2 π or − π ≤ ω 0 < π.

The discrete-time signal x [ n ] = ej ω^0 n does not have a continuously increasing rate of oscillation

as ω 0 is increased in magnitude, but as ω (^) 0 is increased from 0, the signal oscillates more and

more rapidly until ω (^) 0 reaches π , and when ω (^) 0 is continuously increased, the rate of oscillation

Table 1 Comparison of the signals e jω^0^ t and e jω^0^ n.

e jω^0^ t e jω^0 n Distinct signals for distinct values of ω (^) 0 Identical signals for values of ω 0 separated by multiples of 2 π Periodic for any choice of ω 0 Periodic only if ω (^) 0 = 2 πm / N for some integers N > 0 and m. Fundamental frequency ω (^) 0 Fundamental frequency ω 0 / m Fundamental period ω (^) 0 = 0 : undefined

ω (^) 0 ≠ 0 : 0

ω

π

Fundamental period ω (^) 0 = 0 : undefined

ω (^) 0 ≠ 0 : (^)  

0

ω

π m

Example : Suppose that we wish to determine the fundamental period of the discrete-time signal

x [ n ]= ej^ (^2 π^ /^3 ) n + ej (^3 π /^4 )^ n (1.45)

Solution :

The first exponential on the right hand side has a fundamental period of 3. The second exponential has a fundamental period of 8.

For the entire signal to repeat, each of the terms in Eq. (1.45) must go through an integer number of its own fundamental period. The smallest increment of n the accomplished this is 24. That is, over an interval of 24 points, the first term will have gone through 8 of its fundamental periods, and the second term through three of its fundamental periods, and the overall signal through exactly one of its fundamental periods.

Harmonically related periodic exponentials

jk N n k n^ e φ [ ]= (^2 π / ) , k = 0 , ± 1 ,...... (1.46)

In the continuous-time case, all of the harmonically related complex exponentials e jk (^2 π^ / N ) t , k = 0 , ± 1 , ......, are distinct. But this is not the case for discrete-time signals:

φ (^) k + N [ n ] = ej (^ k + N )(^2 π^ / N ) n = ej ( k^2 π / N ) nej^2 πn = φk [ n ] (1.47)

There are only N distinct period exponentials in the set given in Eq. (1.46).

1.4 The Unit Impulse and Unit Step Functions

The unit impulse and unit step functions in continuous and discrete time are considerably important in signal and system analysis.

1.4.1 The discrete-Time Unit Impulse and Unit Step Sequences

Discrete-time unit impulse is defined as

[ ]

n

n δ n , (1.48)

n

δ [ n ]

Fig. 1.19 Discrete-time unit impulse.

Discrete-time unit step is defined as

[ ]

n

n u n , (1.49)

n

u [ n ] 1

0

Fig. 1.20 Discrete-time unit step sequence.

The discrete-time impulse unit is the first difference of the discrete-time step

δ [ n ]= u [ n ]− u [ n − 1 ], (1.50)

The discrete-time unit step is the running sum of the unit sample:

dt

du t t

δ ( )=. (1.56)

Since u ( t )is discontinuous at t = 0 and consequently is formally not differentiable. This can be

interpreted, however, by considering an approximation to the unit step u (^) ∆ ( t ), as illustrated in the figure below, which rises from the value of 0 to the value 1 in a short time interval of length ∆.

u (^) ∆( t )

1

(^0) ∆

t 0 ∆

∆

1

t

δ ∆( t )

(a) (b)

Fig. 1.22 (a) Continuous approximation to the unit step u (^) ∆ ( t ); (b) Derivative of u (^) ∆ ( t ).

The derivative is

dt

du t t

δ (^) ∆ ( )= ∆ , (1.57)

otherwise

t t 0 ,

δ () , (1.58)

as shown in Fig. 1.22.

Note that δ (^) ∆( t )is a short pulse, of duration ∆ and with unit area for any value of ∆. As ∆ → 0 ,

δ (^) ∆( t )becomes narrower and higher, maintaining its unit area. At the limit,

( ) lim ( ) 0 t (^) ∆ t ∆→ δ = δ , (1.59)

( ) lim ( ) 0

u t u ∆ t ∆→

and

dt

du t t

δ ( )=. (1.61)

Graphically, δ ( t ) is represented by an arrow pointing to infinity at t = 0 , “1” next to the arrow represents the area of the impulse.

t

δ ( t )

t

kδ ( t )

k

Fig. 1.23 Continuous-time unit impulse.

Sampling property of the continuous-time unit impulse:

x ( t ) δ ( t )= x ( 0 ) δ ( t ), (1.62)

Or more generally,

x ( t ) δ ( t − t 0 )= x ( t 0 ) δ ( t − t 0 ) (1.63)

Example:

Consider the discontinuous signal x ( t )

x ( t )

2

0 t

1

2

t

1

x &( t )

0

Fig. 1.24 The discontinuous signal and its derivative.