6
1 Discrete-Time Signal Description M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl 1 Sampling and Discrete Time Sampling is the acquisition of the values of a continuous-time signal at discrete points in time. x t () is a continuous-time signal, x n is a discrete-time signal. x n = x nT s ( ) where T s is the time between samples M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl 2 Sampling and Discrete Time M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl 3 Sinusoids The general form of a periodic sinusoid with fundamental period N 0 is g n [] = A cos 2π F 0 n + θ ( ) or A cos Ω 0 n + θ ( ) Unlike a continuous-time sinusoid, a discrete-time sinusoid is not necessarily periodic . If a sinusoid has the form g n [] = A cos 2π F 0 n + θ ( ) then F 0 must be a ratio of integers (a rational number) for g n [] to be periodic. If F 0 is rational in the form q / N 0 and all common factors in q and N 0 have been cancelled, then the fundamental period of the sinusoid is N 0 , not N 0 / q (unless q = 1). M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl 4 Sinusoids Periodic Periodic Periodic Aperiodic M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl 5 Sinusoids An Aperiodic Sinusoid M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl 6

Sinusoids - CSE at UNTrakl/class3010/Chapter3.pdf · Signal Energy and Power M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl! 34! Signal Energy and Power A signal with

  • Upload
    lamanh

  • View
    213

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Sinusoids - CSE at UNTrakl/class3010/Chapter3.pdf · Signal Energy and Power M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl! 34! Signal Energy and Power A signal with

1

Discrete-Time Signal Description

M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl

1

Sampling and Discrete Time

Sampling is the acquisition of the values of a continuous-time signal

at discrete points in time. x t( ) is a continuous-time signal, x n⎡⎣ ⎤⎦ is a

discrete-time signal.

x n⎡⎣ ⎤⎦ = x nTs( ) where Ts is the time between samples

M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl 2

Sampling and Discrete Time

M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl 3

Sinusoids

The general form of a periodic sinusoid with fundamentalperiod N0 is g n[ ] = Acos 2πF0n +θ( ) or Acos Ω0n +θ( )Unlike a continuous-time sinusoid, a discrete-time sinusoid is not necessarily periodic. If a sinusoid has the form

g n[ ] = Acos 2πF0n +θ( ) then F0 must be a ratio of integers

(a rational number) for g n[ ] to be periodic. If F0 is rational in the form q / N0 and all common factors in q and N0 have been cancelled, then the fundamental period of the sinusoid is N0 , not N0 / q (unless q = 1).

M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl 4

Sinusoids Periodic Periodic

Periodic Aperiodic

M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl 5

Sinusoids An Aperiodic Sinusoid

M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl 6

Page 2: Sinusoids - CSE at UNTrakl/class3010/Chapter3.pdf · Signal Energy and Power M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl! 34! Signal Energy and Power A signal with

2

Sinusoids

Two sinusoids whose analytical expressions look different,g1 n[ ] = Acos 2πF01n +θ( ) and g2 n[ ] = Acos 2πF02n +θ( )may actually be the same. If F02 = F01 + m, where m is an integerthen (because n is discrete time and therefore an integer), Acos 2πF01n +θ( ) = Acos 2πF02n +θ( ) (Example on next slide)

M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl 7

Sinusoids

M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl 8

Sinusoids

M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl 9

Exponentials

Real α Complex α

M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl 10

The Unit Impulse Function

δ n[ ] = 1 , n = 00 , n ≠ 0

⎧⎨⎩

The discrete-time unit impulse (also known as the “Kronecker delta function”) is a function in the ordinary sense (in contrast with the continuous-time unit impulse). It has a sampling property,

Aδ n − n0[ ]x n[ ]n=−∞

∑ = Ax n0[ ]but no scaling property. That is, δ n[ ] = δ an[ ] for any non-zero, finite integer a.

M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl 11

The Unit Sequence Function

u n[ ] =1 , n ≥ 00 , n < 0

⎧⎨⎩

M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl 12

Page 3: Sinusoids - CSE at UNTrakl/class3010/Chapter3.pdf · Signal Energy and Power M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl! 34! Signal Energy and Power A signal with

3

The Signum Function

sgn n⎡⎣ ⎤⎦ =1 , n > 00 , n = 0−1 , n < 0

⎨⎪

⎩⎪

M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl 13

The Unit Ramp Function

ramp n[ ] = n , n ≥ 00 , n < 0

⎧⎨⎩

⎫⎬⎭= nu n[ ] = u m −1[ ]

m=−∞

n

M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl 14

The Periodic Impulse Function

δN n[ ] = δ n −mN[ ]m=−∞

M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl 15

Scaling and Shifting Functions

g n[ ] = 0 , n >15

Let g n[ ] be graphically defined by

M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl 16

Scaling and Shifting Functions Time shifting n→ n + n0 , n0 an integer

M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl 17

Scaling and Shifting Functions

Time compression

n→ Kn

K an integer > 1

M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl 18

Page 4: Sinusoids - CSE at UNTrakl/class3010/Chapter3.pdf · Signal Energy and Power M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl! 34! Signal Energy and Power A signal with

4

Scaling and Shifting Functions

Time expansion n→ n / K , K >1

For all n such that n / K is an integer, g n / K[ ] is defined.

For all n such that n / K is not an integer, g n / K[ ] is not defined.

M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl 19

Scaling and Shifting Functions There is a form of time expansion that is useful. Let

y n[ ] = x n /m[ ] , n /m an integer0 , otherwise

⎧⎨⎩

All values of y are defined. This type of time expansionis actually used in some digital signal processing operations.

M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl 20

Differencing

M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl 21

Accumulation

g n[ ] = h m[ ]m=−∞

n

M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl 22

Even and Odd Signals

ge n[ ] = g n[ ]+ g −n[ ]2

go n[ ] = g n[ ]− g −n[ ]2

g n[ ] = g −n[ ] g n[ ] = −g −n[ ]

M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl 23

Products of Even and Odd Functions

Two Even Functions

M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl 24

Page 5: Sinusoids - CSE at UNTrakl/class3010/Chapter3.pdf · Signal Energy and Power M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl! 34! Signal Energy and Power A signal with

5

Products of Even and Odd Functions

An Even Function and an Odd Function

M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl 25

Products of Even and Odd Functions

Two Odd Functions

M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl 26

Symmetric Finite Summation

g n[ ]n=−N

N

∑ = g 0[ ]+ 2 g n[ ]n=1

N

∑ g n[ ]n=−N

N

∑ = 0

M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl 27

Periodic Functions

A periodic function is one that is invariant to thechange of variable n→ n + mN where N is a period of thefunction and m is any integer.

The minimum positive integer value of N for whichg n[ ] = g n + N[ ] is called the fundamental period N0 .

M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl 28

Periodic Functions

M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl 29

Signal Energy and Power

The signal energy of a signal x n[ ] is

Ex = x n[ ] 2

n=−∞

M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl 30

Page 6: Sinusoids - CSE at UNTrakl/class3010/Chapter3.pdf · Signal Energy and Power M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl! 34! Signal Energy and Power A signal with

6

Signal Energy and Power

x n[ ] = 0 , n > 31

M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl 31

Signal Energy and Power Find the signal energy of

x n[ ] = 5 / 3( )2n , 0 ≤ n < 80 , otherwise

⎧⎨⎪

⎩⎪

Ex = x n[ ] 2

n=−∞

∑ = 5 / 3( )2n⎡⎣ ⎤⎦2

n=0

7

∑ = 5 / 3( )4⎡⎣ ⎤⎦n

n=0

7

Using rnn=0

N −1

∑ =N , r = 11− rN

1− r , r ≠ 1

⎧⎨⎪

⎩⎪

Ex =1− 5 / 3( )4⎡⎣ ⎤⎦

8

1− 5 / 3( )4 ≅ 1.871×106

M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl 32

Signal Energy and Power Some signals have infinite signal energy. In that caseIt is usually more convenient to deal with average signal power. The average signal power of a signal x n[ ] is

Px = limN→∞

12N

x n[ ] 2

n=−N

N−1

∑For a periodic signal x n[ ] the average signal power is

Px =1N

x n[ ] 2

n= N∑

The notation n= N∑ means the sum over any set of

consecutive n 's exactly N in length.

⎝⎜

⎠⎟

M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl 33

Signal Energy and Power

M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl 34

Signal Energy and Power

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.

M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl 35