28
COSC 3451: Signals and Systems Course Instructor: Amir Asif Teaching Assistant: TBA Contact Information: Instructor: Teaching Assistant: Office: CSB 3028 Durwas, Neha [email protected] [email protected] (416) 736-2100 X70128 URL: http://www.cs.yorku.ca/course/3451 Text: A. V. Oppenheim and A. S. Willsky with S. H. Nawab, Signals and Systems, NY: Prentice Hall, 1997. Class Schedule: TR 13:00 14:30 (CB 115) Assessment: Assignment / Quiz: 20% Projects: 15% Mid-term: 25% Final: 40%

COSC 3451: Signals and Systems Course Instructor: Amir Asif Teaching Assistant: TBA

Embed Size (px)

DESCRIPTION

COSC 3451: Signals and Systems Course Instructor: Amir Asif Teaching Assistant: TBA Contact Information: Instructor: Teaching Assistant: Office: CSB 3028Durwas, Neha [email protected] [email protected] (416) 736-2100 X70128 - PowerPoint PPT Presentation

Citation preview

Page 1: COSC 3451: Signals and Systems Course Instructor:  Amir Asif  Teaching Assistant: TBA

COSC 3451: Signals and Systems

Course Instructor: Amir Asif Teaching Assistant: TBA

Contact Information: Instructor: Teaching Assistant:Office: CSB 3028 Durwas, Neha [email protected] [email protected](416) 736-2100 X70128

URL: http://www.cs.yorku.ca/course/3451

Text: A. V. Oppenheim and A. S. Willsky with S. H. Nawab, Signals andSystems, NY: Prentice Hall, 1997.

Class Schedule: TR 13:00 14:30  (CB 115)

Assessment: Assignment / Quiz: 20% Projects: 15%Mid-term: 25%Final: 40%

Office Hours: Instructor: CSB 3028, TR 12:00 – 13:00 TA: TBA

Page 2: COSC 3451: Signals and Systems Course Instructor:  Amir Asif  Teaching Assistant: TBA

2

Course Objectives

Introduce CT and DT signals and systems in terms of physical phenomena

Review elementary signals and see how these can be represented in domains other than time

Understand different transforms (Fourier, Laplace, Z) used to analyze signals

Complete analysis of a linear time invariant (LTI) systems in time and other domains

Design filters (systems) to process a signal for different applications

Present state-of-art technologies used in communication systems

Use computers for digital signal processing

Demystify terminology !!!!!!

Page 3: COSC 3451: Signals and Systems Course Instructor:  Amir Asif  Teaching Assistant: TBA

3

What is a Signal?

Signal is a waveform that contains information

System is a model for physical phenomena that generates, processes, or receive signals.

Speech Waveform

x(t): Continuous Time

Page 4: COSC 3451: Signals and Systems Course Instructor:  Amir Asif  Teaching Assistant: TBA

4

Examples of Signals

Image

I[m,n]: 2D DT signal(a) 1D CT signal x(t)

(b) 1D DT signal x[n]

Activity 1: For each of the representations: (a) z[m,n,k] (b) I(x,y,z,t), establish if the signal is CT or DT. Specify the independent and dependent variables. Also, think of an example from the real world that will have the same mathematical representation.

Page 5: COSC 3451: Signals and Systems Course Instructor:  Amir Asif  Teaching Assistant: TBA

5

Power vs. Energy Signals (1)

Energy:

Power:

Activity 2:

a. Consider the sinusoidal signal x(t) = cos(0.5t). Choosing T = 4, determine the average power of x(t).

b. Consider the signal x(t) = 5 sin(2t) for the interval 1 <= t <= 1 and is 0 elsewhere. Calculate the energy of x(t).

c. Calculate the energy of the signal x[n] = (0.8)n for n >= 0 and is 0 elsewhere.

Signals DTfor |][|

Signals CTfor |)(|

2

2

nx

dttx

E

Signals DTfor |][|12

1lim

Signals CTfor |)(|2

1lim

2

2

N

N

T

T

nxNN

dttxTT

P

Page 6: COSC 3451: Signals and Systems Course Instructor:  Amir Asif  Teaching Assistant: TBA

6

Power vs. Energy Signals (2)

1. Energy Signals: have finite total energy for the entire duration of the signal. As a consequence, total power in an energy signal is 0.

2. Power Signals: have non-zero power over the entire duration of the signal. As a consequence, the total energy in a power signal is infinite.

Activity 3:

Classify the signals defined in Activity 2 as a power or an energy signal.

Page 7: COSC 3451: Signals and Systems Course Instructor:  Amir Asif  Teaching Assistant: TBA

7

Linear Transformations

There are two types of linear transformations that we will consider

1. Time Shifting:

2. Scaling:

)()( ottxty

)()( atxty

Page 8: COSC 3451: Signals and Systems Course Instructor:  Amir Asif  Teaching Assistant: TBA

8

Linear Transformations (2)

Scaling for DT Signals:

Note that y[n] = x[n/2] is not completely defined

][][ onnxny

Page 9: COSC 3451: Signals and Systems Course Instructor:  Amir Asif  Teaching Assistant: TBA

9

Linear Transformations (3)

Precedence Rule:

1. Establishes the order of shifting and scaling in relationships involving both shifting and scaling operations.

2. Time-shifting takes precedence over time-scaling. In the above representation, the time shift b is performed first on x(t), resulting in an intermediate signal v(t) defined by

v(t) = x(t + b)

followed by time-scaling by a factor of a, that is,

y(t) = v(at) = x(at + b).

3. Example: Sketch y(t) = x(2t + 3) for x(t) given in (a)

)()( batxty

Page 10: COSC 3451: Signals and Systems Course Instructor:  Amir Asif  Teaching Assistant: TBA

10

Linear Transformations (4)

For the DT signal x[n] illustrated below:

Activity 4: Draw the following:

(a) x[n]; (b) x[2n]; (c) x[n + 3 ]; (d) x[2n + 3]

Page 11: COSC 3451: Signals and Systems Course Instructor:  Amir Asif  Teaching Assistant: TBA

11

Periodic Signals

1. Periodic signals: A periodic signal x(t) is a function of time that satisfies the condition

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

where T is a positive constant number and is referred to as the fundamental period of the signal.

Fundamental frequency (f) is the inverse of the period of the signal. It is measured in Hertz (Hz =1/s).

2. Nonperiodic (Aperiodic) signals: are those that do not repeat themselves.

Activity 5: For the sinusoidal signals (a) x[n] = sin (5n) (b) y[n] = sin(n/3), determine the fundamental period N of the DT signals.

Page 12: COSC 3451: Signals and Systems Course Instructor:  Amir Asif  Teaching Assistant: TBA

12

Even vs. Odd Signals (1)

1. Even Signal: A CT signal x(t) is said to be an even signal if it satisfies the condition

x(t) = x(t) for all t.

2. Odd Signal: The CT signal x(t) is said to be an odd signal if it satisfies the condition x(t) = x(t) for all t.

3. Even signals are symmetric about the vertical axis or time origin.

4. Odd signals are antisymmetric (or asymmetric) about the time origin.

Page 13: COSC 3451: Signals and Systems Course Instructor:  Amir Asif  Teaching Assistant: TBA

13

Even vs. Odd Signals (2)

5. Signals that satisfy neither the even property nor the odd property can be divided into even and odd components based on the following equations:

Even component of x(t) = 1/2 [ x(t) + x(t) ]Odd component of x(t) = 1/2 [ x(t) x(t) ]

Activity 6: For the signal

do the following:

(a) sketch the signal(b) evaluate the odd part of the signal(c) evaluate the even part of the signal.

elsewhere020for |1|1)( tttx

Page 14: COSC 3451: Signals and Systems Course Instructor:  Amir Asif  Teaching Assistant: TBA

14

CT Exponential Signals (1)

CT exponential signals are of the form

where C and a can both be complex numbers.

atCetx )(

.

Characteristic C a

Real Exponential Signals real real

Periodic Complex Exponential

real imaginary

General Complex Exponential

complex complex

Page 15: COSC 3451: Signals and Systems Course Instructor:  Amir Asif  Teaching Assistant: TBA

15

CT Exponential Signals: Real (2).

Real CT exponential signals:

where C and a are both positive numbers.

atCetx )(

Page 16: COSC 3451: Signals and Systems Course Instructor:  Amir Asif  Teaching Assistant: TBA

16

CT Exponential Signals: Periodic Complex (3).

1. Periodic complex exponential signals:

where C is a positive number but (a = j o) is an imaginary number.

2. Difficult to draw. Magnitude and phase are drawn separately.

Activity 7: Show that the periodic complex signal x(t) = C exp(jot) has a fundamental period given by:

atCetx )(

2T

Page 17: COSC 3451: Signals and Systems Course Instructor:  Amir Asif  Teaching Assistant: TBA

17

CT Exponential Signals: Sinusoidal (4).

1. Sinusoidal Signals:

where C is real and a is complex.

2. Types of Sinusoidal Signals:

}{IM)(or}{RE)( atat CetxCetx

waveSine)sin(

waveCosine)cos()(

tCtC

tx

Page 18: COSC 3451: Signals and Systems Course Instructor:  Amir Asif  Teaching Assistant: TBA

18

CT Exponential Signals: Sinusoidal (5).

Activity 8: Sketch the following sinusoidal signal

What is the value of the magnitude, fundamental frequency, fundamental phase, and power for the sinusoidal signal.

Activity 9: Show that the power of a sinusoidal signal

is given by A2 / 2.

)2/10sin(6)( ttx

)2sin()( tfAtx

Page 19: COSC 3451: Signals and Systems Course Instructor:  Amir Asif  Teaching Assistant: TBA

19

CT Exponential Signals: Complex (6).

1. General Complex Exponential signals:

where C and a are both complex numbers.

2. By substituting C = |C|ej and a = (r + jo), the magnitude and phase of x(t) can be expressed as

atCetx )(

)()(:Phase|||)(|:Magnitude

ttxeCtx rt

Page 20: COSC 3451: Signals and Systems Course Instructor:  Amir Asif  Teaching Assistant: TBA

20

CT Exponential Signals (7).

Activity 10: Derive and plot the magnitude and phase of the composite signal

tjtj eetx 35.2)(

Page 21: COSC 3451: Signals and Systems Course Instructor:  Amir Asif  Teaching Assistant: TBA

21

DT Exponential Signals (1).

nCnx ][

DT exponential signals are of the form

where C and can both be complex numbers.

Characteristic C

Real Exponential Signals Real Real

Sinusoidal Signals Real Imaginary (= j)

General Complex Exponential

Complex Complex

Page 22: COSC 3451: Signals and Systems Course Instructor:  Amir Asif  Teaching Assistant: TBA

22

DT Exponential Signals: Real (2).

nCnx ][

1. For real exponential signals, C and are both real

2. Depending upon the value of a, a different waveform is produced. gives a rising exponential gives a constant line gives a decaying exponential gives an alternating sign decaying exponential gives an alternating sign rising exponential

Page 23: COSC 3451: Signals and Systems Course Instructor:  Amir Asif  Teaching Assistant: TBA

23

DT Exponential Signals: Sinusoidal (3).

1. Sinusoidal Signals:

where C is real and is complex.

2. Types of Sinusoidal Signals:

3. Not all DT sinusoidal signals are periodic

}{IM)(or}{RE][ nn CtxCnx

waveSine)sin(

waveCosine)cos(][

nCnC

nx

Page 24: COSC 3451: Signals and Systems Course Instructor:  Amir Asif  Teaching Assistant: TBA

24

DT Exponential Signals: Sinusoidal (4).

4. Condition for periodicity: A DT sinusoidal signal

is periodic if (o / 2) is a rational number with the period given by

Activity 11: Consider the signal

x[n] =cos(n/3) sin(n/6).

Determine if the signal is periodic. If yes, calculate the period N.

waveSine)sin(

waveCosine)cos(][

nCnC

nx

mN 2

Page 25: COSC 3451: Signals and Systems Course Instructor:  Amir Asif  Teaching Assistant: TBA

25

Unit Step Function

DT domain:

CT domain

Activity: For the discrete time signal

Describe x[n] as a function of two step functions. Ans: U[n + 5] U[n 10]

0001

][nn

nU

0001

)(tt

tU

elsewhere0105for 1

][n

nx

Page 26: COSC 3451: Signals and Systems Course Instructor:  Amir Asif  Teaching Assistant: TBA

26

Unit Sample (Impulse) Function

DT domain:

CT domain: Impulse function is defined as

0001

][nn

n

)()()(.4

)()()()(.3

)(||1)(.2

1)(.1

txdttttx

tttxtttx

taat

dtt

Page 27: COSC 3451: Signals and Systems Course Instructor:  Amir Asif  Teaching Assistant: TBA

27

Gate Function

DT domain:

CT domain

elsewhere02/1

][Nn

n

elsewhere01

)(Tt

t

Page 28: COSC 3451: Signals and Systems Course Instructor:  Amir Asif  Teaching Assistant: TBA

28

Ramp Function

DT domain:

CT domain

elsewhere00

][nn

nr

elsewhere00

)(tt

tr