Top Banner
EITF75 Systems and Signals Lecture 2 LTI systems: convolutions, impulse responses (and more) Fredrik Rusek
109

Lecture 2 LTI systems: convolutions, impulse …...EITF75 Systems and Signals system LTI systems A system is LTI if-and-only if: • It is linear • It is time-invariant Linear system

Dec 28, 2019

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Lecture 2 LTI systems: convolutions, impulse …...EITF75 Systems and Signals system LTI systems A system is LTI if-and-only if: • It is linear • It is time-invariant Linear system

EITF75 Systems and Signals

Lecture 2 LTI systems: convolutions, impulse responses (and more)

Fredrik Rusek

Page 2: Lecture 2 LTI systems: convolutions, impulse …...EITF75 Systems and Signals system LTI systems A system is LTI if-and-only if: • It is linear • It is time-invariant Linear system

EITF75 Systems and Signals

system

LTI systems

A system is LTI if-and-only if: • It is linear • It is time-invariant

Linear system Time invariant system

Page 3: Lecture 2 LTI systems: convolutions, impulse …...EITF75 Systems and Signals system LTI systems A system is LTI if-and-only if: • It is linear • It is time-invariant Linear system

EITF75 Systems and Signals

system

LTI systems

A system is LTI if-and-only if: • It is linear • It is time-invariant

Linear system Time invariant system

LTI systems have compact mathematical representation We next provide two ways the reach the representation

Page 4: Lecture 2 LTI systems: convolutions, impulse …...EITF75 Systems and Signals system LTI systems A system is LTI if-and-only if: • It is linear • It is time-invariant Linear system

EITF75 Systems and Signals

LTI system

A system is LTI if-and-only if: • It is linear • It is time-invariant

Method I (not in book, but I find it illuminating)

Input x(n): A sequence of numbers Output y(n): A sequence of numbers

In the Linear algebra course, how did we represent a sequence of numbers?

Page 5: Lecture 2 LTI systems: convolutions, impulse …...EITF75 Systems and Signals system LTI systems A system is LTI if-and-only if: • It is linear • It is time-invariant Linear system

EITF75 Systems and Signals

LTI system

A system is LTI if-and-only if: • It is linear • It is time-invariant

Method I (not in book, but I find it illuminating)

Input x(n): A sequence of numbers Output y(n): A sequence of numbers

In the Linear algebra course, how did we represent a sequence of numbers? With a vector

IN OUT

Page 6: Lecture 2 LTI systems: convolutions, impulse …...EITF75 Systems and Signals system LTI systems A system is LTI if-and-only if: • It is linear • It is time-invariant Linear system

EITF75 Systems and Signals

LTI system

A system is LTI if-and-only if: • It is linear • It is time-invariant

Method I (not in book, but I find it illuminating)

Input x(n): A sequence of numbers Output y(n): A sequence of numbers

In the Linear algebra course, how did we represent a sequence of numbers? With a vector

IN OUT Why is the linear algebra course dealing so much with matrices?

Page 7: Lecture 2 LTI systems: convolutions, impulse …...EITF75 Systems and Signals system LTI systems A system is LTI if-and-only if: • It is linear • It is time-invariant Linear system

EITF75 Systems and Signals

LTI system

A system is LTI if-and-only if: • It is linear • It is time-invariant

Method I (not in book, but I find it illuminating)

Input x(n): A sequence of numbers Output y(n): A sequence of numbers

In the Linear algebra course, how did we represent a sequence of numbers? With a vector

IN OUT Why is the linear algebra course dealing so much with matrices? Because every linear function can be represented by a matrix

Page 8: Lecture 2 LTI systems: convolutions, impulse …...EITF75 Systems and Signals system LTI systems A system is LTI if-and-only if: • It is linear • It is time-invariant Linear system

EITF75 Systems and Signals

LTI system

A system is LTI if-and-only if: • It is linear • It is time-invariant

Method I (not in book, but I find it illuminating)

Summary so far: A linear system can be represented as

where

Page 9: Lecture 2 LTI systems: convolutions, impulse …...EITF75 Systems and Signals system LTI systems A system is LTI if-and-only if: • It is linear • It is time-invariant Linear system

EITF75 Systems and Signals

LTI system

A system is LTI if-and-only if: • It is linear • It is time-invariant

Method I (not in book, but I find it illuminating)

A linear system can be represented as

where

But, our system is LTI, not only linear, so this imposes restrictions on i.e., must have a special structure

Page 10: Lecture 2 LTI systems: convolutions, impulse …...EITF75 Systems and Signals system LTI systems A system is LTI if-and-only if: • It is linear • It is time-invariant Linear system

EITF75 Systems and Signals

LTI system

A system is LTI if-and-only if: • It is linear • It is time-invariant

Method I (not in book, but I find it illuminating)

A linear system can be represented as

Let us understand this special structure

Page 11: Lecture 2 LTI systems: convolutions, impulse …...EITF75 Systems and Signals system LTI systems A system is LTI if-and-only if: • It is linear • It is time-invariant Linear system

EITF75 Systems and Signals

LTI system

A system is LTI if-and-only if: • It is linear • It is time-invariant

Method I (not in book, but I find it illuminating)

A linear system can be represented as

Let us understand this special structure

Assume

Page 12: Lecture 2 LTI systems: convolutions, impulse …...EITF75 Systems and Signals system LTI systems A system is LTI if-and-only if: • It is linear • It is time-invariant Linear system

EITF75 Systems and Signals

LTI system

A system is LTI if-and-only if: • It is linear • It is time-invariant

Method I (not in book, but I find it illuminating)

A linear system can be represented as

Let us understand this special structure

Assume

The output must be the first column of

Page 13: Lecture 2 LTI systems: convolutions, impulse …...EITF75 Systems and Signals system LTI systems A system is LTI if-and-only if: • It is linear • It is time-invariant Linear system

EITF75 Systems and Signals

LTI system

A system is LTI if-and-only if: • It is linear • It is time-invariant

Method I (not in book, but I find it illuminating)

A linear system can be represented as

Let us understand this special structure

Assume

Page 14: Lecture 2 LTI systems: convolutions, impulse …...EITF75 Systems and Signals system LTI systems A system is LTI if-and-only if: • It is linear • It is time-invariant Linear system

EITF75 Systems and Signals

LTI system

A system is LTI if-and-only if: • It is linear • It is time-invariant

Method I (not in book, but I find it illuminating)

A linear system can be represented as

Let us understand this special structure

Assume

The output must be the second column of

Page 15: Lecture 2 LTI systems: convolutions, impulse …...EITF75 Systems and Signals system LTI systems A system is LTI if-and-only if: • It is linear • It is time-invariant Linear system

EITF75 Systems and Signals

LTI system

A system is LTI if-and-only if: • It is linear • It is time-invariant

Method I (not in book, but I find it illuminating)

Now recall that system is time-invariant Implication?

Page 16: Lecture 2 LTI systems: convolutions, impulse …...EITF75 Systems and Signals system LTI systems A system is LTI if-and-only if: • It is linear • It is time-invariant Linear system

EITF75 Systems and Signals

LTI system

A system is LTI if-and-only if: • It is linear • It is time-invariant

Method I (not in book, but I find it illuminating)

Now recall that system is time-invariant Implication?

The outputs should be The same, but one step delayed

Page 17: Lecture 2 LTI systems: convolutions, impulse …...EITF75 Systems and Signals system LTI systems A system is LTI if-and-only if: • It is linear • It is time-invariant Linear system

EITF75 Systems and Signals

LTI system

A system is LTI if-and-only if: • It is linear • It is time-invariant

Method I (not in book, but I find it illuminating)

Now recall that system is time-invariant Implication?

The outputs should be The same, but one step delayed i.e.

Page 18: Lecture 2 LTI systems: convolutions, impulse …...EITF75 Systems and Signals system LTI systems A system is LTI if-and-only if: • It is linear • It is time-invariant Linear system

EITF75 Systems and Signals

LTI system

A system is LTI if-and-only if: • It is linear • It is time-invariant

Method I (not in book, but I find it illuminating)

Now recall that system is time-invariant Implication?

The outputs should be The same, but one step delayed i.e. equal values along all diagonals

Page 19: Lecture 2 LTI systems: convolutions, impulse …...EITF75 Systems and Signals system LTI systems A system is LTI if-and-only if: • It is linear • It is time-invariant Linear system

EITF75 Systems and Signals

LTI system

A system is LTI if-and-only if: • It is linear • It is time-invariant

Method I (not in book, but I find it illuminating)

Summary. An LTI system is any discrete-time system that can be described by

Som

e v

ect

or

Same v

ect

or

Same v

ect

or

Same v

ect

or

Same v

ect

or

Same v

ect

or

Page 20: Lecture 2 LTI systems: convolutions, impulse …...EITF75 Systems and Signals system LTI systems A system is LTI if-and-only if: • It is linear • It is time-invariant Linear system

EITF75 Systems and Signals

LTI system

A system is LTI if-and-only if: • It is linear • It is time-invariant

Method I (not in book, but I find it illuminating)

Summary. An LTI system is any discrete-time system that can be described by

Som

e v

ect

or

Same v

ect

or

Same v

ect

or

Same v

ect

or

Same v

ect

or

Same v

ect

or

Alternative formulation of course-goal: Understand properties of a matrix of the form

Som

e v

ect

or

Same v

ect

or

Same v

ect

or

Same v

ect

or

Same v

ect

or

Same v

ect

or

Page 21: Lecture 2 LTI systems: convolutions, impulse …...EITF75 Systems and Signals system LTI systems A system is LTI if-and-only if: • It is linear • It is time-invariant Linear system

EITF75 Systems and Signals

LTI system

Som

e v

ect

or

Same v

ect

or

Same v

ect

or

Same v

ect

or

Same v

ect

or

Same v

ect

or

The LTI system is FULLY characterized by one vector/sequence of numbers/discrete signal

Page 22: Lecture 2 LTI systems: convolutions, impulse …...EITF75 Systems and Signals system LTI systems A system is LTI if-and-only if: • It is linear • It is time-invariant Linear system

EITF75 Systems and Signals

LTI system

A system is LTI if-and-only if: • It is linear • It is time-invariant

Method II (to reach the same conclusion: an LTI system can be described by a signal)

Input signal Output signal

Impulse response (definition)

Page 23: Lecture 2 LTI systems: convolutions, impulse …...EITF75 Systems and Signals system LTI systems A system is LTI if-and-only if: • It is linear • It is time-invariant Linear system

EITF75 Systems and Signals

LTI system

A system is LTI if-and-only if: • It is linear • It is time-invariant

Method II (to reach the same conclusion: an LTI system can be described by a signal)

Input signal Output signal

Impulse response (definition)

Time-invariant

Page 24: Lecture 2 LTI systems: convolutions, impulse …...EITF75 Systems and Signals system LTI systems A system is LTI if-and-only if: • It is linear • It is time-invariant Linear system

EITF75 Systems and Signals

LTI system

A system is LTI if-and-only if: • It is linear • It is time-invariant

Method II (to reach the same conclusion: an LTI system can be described by a signal)

Input signal Output signal

Impulse response (definition)

Time-invariant

Linearity (scaling part)

Page 25: Lecture 2 LTI systems: convolutions, impulse …...EITF75 Systems and Signals system LTI systems A system is LTI if-and-only if: • It is linear • It is time-invariant Linear system

EITF75 Systems and Signals

LTI system

A system is LTI if-and-only if: • It is linear • It is time-invariant

Method II (to reach the same conclusion: an LTI system can be described by a signal)

Input signal Output signal

Impulse response (definition)

Time-invariant

Linearity (scaling part)

Linearity (summation part)

Page 26: Lecture 2 LTI systems: convolutions, impulse …...EITF75 Systems and Signals system LTI systems A system is LTI if-and-only if: • It is linear • It is time-invariant Linear system

EITF75 Systems and Signals

LTI system

A system is LTI if-and-only if: • It is linear • It is time-invariant

Method II (to reach the same conclusion: an LTI system can be described by a signal)

Input signal Output signal

Page 27: Lecture 2 LTI systems: convolutions, impulse …...EITF75 Systems and Signals system LTI systems A system is LTI if-and-only if: • It is linear • It is time-invariant Linear system

EITF75 Systems and Signals

LTI system

A system is LTI if-and-only if: • It is linear • It is time-invariant

Method II (to reach the same conclusion: an LTI system can be described by a signal)

Input signal Output signal

Final result: The system is described by h(n) The formula is named convolution. Super-important

Page 28: Lecture 2 LTI systems: convolutions, impulse …...EITF75 Systems and Signals system LTI systems A system is LTI if-and-only if: • It is linear • It is time-invariant Linear system

EITF75 Systems and Signals

Summary LTI

Input/Output relation (Convolution)

Short-hand notation

Page 29: Lecture 2 LTI systems: convolutions, impulse …...EITF75 Systems and Signals system LTI systems A system is LTI if-and-only if: • It is linear • It is time-invariant Linear system

EITF75 Systems and Signals

Agenda

Get familiar with through some examples For what do we have BIBO stability? See relationship between and Some notes on correlation functions

Today

In the long run

Page 30: Lecture 2 LTI systems: convolutions, impulse …...EITF75 Systems and Signals system LTI systems A system is LTI if-and-only if: • It is linear • It is time-invariant Linear system

EITF75 Systems and Signals

Agenda

Get familiar with through some examples For what do we have BIBO stability? See relationship between and Some notes on correlation functions

Today

In the long run (Loosely speaking)

Study in detail via z-transform, and 2 types of Fourier transforms The sampling-reconstruction issues

Page 31: Lecture 2 LTI systems: convolutions, impulse …...EITF75 Systems and Signals system LTI systems A system is LTI if-and-only if: • It is linear • It is time-invariant Linear system

EITF75 Systems and Signals

Agenda

Get familiar with through some examples For what do we have BIBO stability? See relationship between and Some notes on correlation functions

Today

In the long run (Loosely speaking)

Study in detail via z-transform, and 2 types of Fourier transforms The sampling-reconstruction issues

Page 32: Lecture 2 LTI systems: convolutions, impulse …...EITF75 Systems and Signals system LTI systems A system is LTI if-and-only if: • It is linear • It is time-invariant Linear system

EITF75 Systems and Signals

Example

Given: Input signal and impulse response

Find: Output signal

Page 33: Lecture 2 LTI systems: convolutions, impulse …...EITF75 Systems and Signals system LTI systems A system is LTI if-and-only if: • It is linear • It is time-invariant Linear system

EITF75 Systems and Signals

Example

Given: Input signal and impulse response

Find: Output signal

Let us start with computation of

1 2 3 4 -1

Page 34: Lecture 2 LTI systems: convolutions, impulse …...EITF75 Systems and Signals system LTI systems A system is LTI if-and-only if: • It is linear • It is time-invariant Linear system

EITF75 Systems and Signals

Example

Given: Input signal and impulse response

Find: Output signal

Let us start with computation of

4

2

6

-3 -2 -1 0

1 2 3 4 -1

Page 35: Lecture 2 LTI systems: convolutions, impulse …...EITF75 Systems and Signals system LTI systems A system is LTI if-and-only if: • It is linear • It is time-invariant Linear system

EITF75 Systems and Signals

Example

Given: Input signal and impulse response

Find: Output signal

Let us start with computation of

1 2 3

4

4

2

6

-3 -2 -1 0

1 2 3 4 -1

Page 36: Lecture 2 LTI systems: convolutions, impulse …...EITF75 Systems and Signals system LTI systems A system is LTI if-and-only if: • It is linear • It is time-invariant Linear system

EITF75 Systems and Signals

Example

Given: Input signal and impulse response

Find: Output signal

Let us start with computation of

1 2 3

4

4

2

6

-3 -2 -1 0

1 2 3 4 -1

Page 37: Lecture 2 LTI systems: convolutions, impulse …...EITF75 Systems and Signals system LTI systems A system is LTI if-and-only if: • It is linear • It is time-invariant Linear system

EITF75 Systems and Signals

Example

Given: Input signal and impulse response

Find: Output signal

Let us start with computation of

1 2 3

4

4

2

6

-3 -2 -1 0

1 2 3 4 -1

Page 38: Lecture 2 LTI systems: convolutions, impulse …...EITF75 Systems and Signals system LTI systems A system is LTI if-and-only if: • It is linear • It is time-invariant Linear system

EITF75 Systems and Signals

Example

Given: Input signal and impulse response

Find: Output signal

Let us start with computation of

1 2 3

4

4

2

6

-3 -2 -1 0

1 2 3 4 -1

Page 39: Lecture 2 LTI systems: convolutions, impulse …...EITF75 Systems and Signals system LTI systems A system is LTI if-and-only if: • It is linear • It is time-invariant Linear system

EITF75 Systems and Signals

Example

Given: Input signal and impulse response

Find: Output signal

computation of

1 2 3

4

4

2

6

-3 -2 -1 0

1 2 3 4 -1

? ?

Page 40: Lecture 2 LTI systems: convolutions, impulse …...EITF75 Systems and Signals system LTI systems A system is LTI if-and-only if: • It is linear • It is time-invariant Linear system

EITF75 Systems and Signals

Example

Given: Input signal and impulse response

Find: Output signal

computation of

1 2 3

4

4

2

6

-3 -2 -1 0

1 2 3 4 -1

Stays the same

?

Page 41: Lecture 2 LTI systems: convolutions, impulse …...EITF75 Systems and Signals system LTI systems A system is LTI if-and-only if: • It is linear • It is time-invariant Linear system

EITF75 Systems and Signals

Example

Given: Input signal and impulse response

Find: Output signal

computation of

1 2 3

4

4

2

6

-3 -2 -1 0

1 2 3 4 -1

Stays the same Moves

Page 42: Lecture 2 LTI systems: convolutions, impulse …...EITF75 Systems and Signals system LTI systems A system is LTI if-and-only if: • It is linear • It is time-invariant Linear system

EITF75 Systems and Signals

Example

Given: Input signal and impulse response

Find: Output signal

computation of

1 2 3

4

4

2

6

-3 -2 -1 0

1 2 3 4 -1

Stays the same Moves

Page 43: Lecture 2 LTI systems: convolutions, impulse …...EITF75 Systems and Signals system LTI systems A system is LTI if-and-only if: • It is linear • It is time-invariant Linear system

EITF75 Systems and Signals

Example

Given: Input signal and impulse response

Find: Output signal

computation of

1 2 3

4

4

2

6

-3 -2 -1 0

1 2 3 4 -1

Stays the same Moves

”Home work 1” Verify that causal x(n) and causal h(n) yields causal y(n)

”Home work 2” If x(n) starts at -3, and h(n) at -4. When does y(n) start?

”Home work 3” etc

Page 44: Lecture 2 LTI systems: convolutions, impulse …...EITF75 Systems and Signals system LTI systems A system is LTI if-and-only if: • It is linear • It is time-invariant Linear system

EITF75 Systems and Signals

Example

Given: Input signal and impulse response

Find: Output signal

computation of

1 2 3

4

4

2

6

-3 -2 -1 0

1 2 3 4 -1

?

Page 45: Lecture 2 LTI systems: convolutions, impulse …...EITF75 Systems and Signals system LTI systems A system is LTI if-and-only if: • It is linear • It is time-invariant Linear system

EITF75 Systems and Signals

Example

Given: Input signal and impulse response

Find: Output signal

computation of

1 2 3

4

4

2

6

-3 -2 -1 0

1 2 3 4 -1

Page 46: Lecture 2 LTI systems: convolutions, impulse …...EITF75 Systems and Signals system LTI systems A system is LTI if-and-only if: • It is linear • It is time-invariant Linear system

EITF75 Systems and Signals

Example

Given: Input signal and impulse response

Find: Output signal

computation of

1 2 3

4

4

2

6

-3 -2 -1 0

1 2 3 4 -1

Page 47: Lecture 2 LTI systems: convolutions, impulse …...EITF75 Systems and Signals system LTI systems A system is LTI if-and-only if: • It is linear • It is time-invariant Linear system

EITF75 Systems and Signals

Example

Given: Input signal and impulse response

Find: Output signal

computation of

1 2 3

4

4

2

6

-3 -2 -1 0

1 2 3 4 -1

Page 48: Lecture 2 LTI systems: convolutions, impulse …...EITF75 Systems and Signals system LTI systems A system is LTI if-and-only if: • It is linear • It is time-invariant Linear system

EITF75 Systems and Signals

Example

Given: Input signal and impulse response

Find: Output signal

computation of

1 2 3

4

4

2

6

-3 -2 -1 0

1 2 3 4 -1

Page 49: Lecture 2 LTI systems: convolutions, impulse …...EITF75 Systems and Signals system LTI systems A system is LTI if-and-only if: • It is linear • It is time-invariant Linear system

EITF75 Systems and Signals

Example

Given: Input signal and impulse response

Find: Output signal

computation of

1 2 3

4

4

2

6

-3 -2 -1 0

1 2 3 4 -1

Page 50: Lecture 2 LTI systems: convolutions, impulse …...EITF75 Systems and Signals system LTI systems A system is LTI if-and-only if: • It is linear • It is time-invariant Linear system

EITF75 Systems and Signals

Example

Given: Input signal and impulse response

Find: Output signal

Repeating gives

Page 51: Lecture 2 LTI systems: convolutions, impulse …...EITF75 Systems and Signals system LTI systems A system is LTI if-and-only if: • It is linear • It is time-invariant Linear system

EITF75 Systems and Signals

Example

Given: Input signal and impulse response

Find: Output signal

Page 52: Lecture 2 LTI systems: convolutions, impulse …...EITF75 Systems and Signals system LTI systems A system is LTI if-and-only if: • It is linear • It is time-invariant Linear system

EITF75 Systems and Signals

Example

Given: Input signal and impulse response

Find: Output signal

Three more methods

Page 53: Lecture 2 LTI systems: convolutions, impulse …...EITF75 Systems and Signals system LTI systems A system is LTI if-and-only if: • It is linear • It is time-invariant Linear system

EITF75 Systems and Signals

Example

Given: Input signal and impulse response

Find: Output signal

Three more methods Method 1

Page 54: Lecture 2 LTI systems: convolutions, impulse …...EITF75 Systems and Signals system LTI systems A system is LTI if-and-only if: • It is linear • It is time-invariant Linear system

EITF75 Systems and Signals

Example

Given: Input signal and impulse response

Find: Output signal

Three more methods Method 1

Page 55: Lecture 2 LTI systems: convolutions, impulse …...EITF75 Systems and Signals system LTI systems A system is LTI if-and-only if: • It is linear • It is time-invariant Linear system

EITF75 Systems and Signals

Example

Given: Input signal and impulse response

Find: Output signal

Three more methods Method 1

Page 56: Lecture 2 LTI systems: convolutions, impulse …...EITF75 Systems and Signals system LTI systems A system is LTI if-and-only if: • It is linear • It is time-invariant Linear system

EITF75 Systems and Signals

Example

Given: Input signal and impulse response

Find: Output signal

Three more methods Method 1

Page 57: Lecture 2 LTI systems: convolutions, impulse …...EITF75 Systems and Signals system LTI systems A system is LTI if-and-only if: • It is linear • It is time-invariant Linear system

EITF75 Systems and Signals

Example

Given: Input signal and impulse response

Three more methods Method 2

Put numbers in a table and multiply

Page 58: Lecture 2 LTI systems: convolutions, impulse …...EITF75 Systems and Signals system LTI systems A system is LTI if-and-only if: • It is linear • It is time-invariant Linear system

EITF75 Systems and Signals

Example

Given: Input signal and impulse response

Three more methods Method 2

Sum the diagonals

Page 59: Lecture 2 LTI systems: convolutions, impulse …...EITF75 Systems and Signals system LTI systems A system is LTI if-and-only if: • It is linear • It is time-invariant Linear system

EITF75 Systems and Signals

Example

Given: Input signal and impulse response

Three more methods Method 2

Result

Page 60: Lecture 2 LTI systems: convolutions, impulse …...EITF75 Systems and Signals system LTI systems A system is LTI if-and-only if: • It is linear • It is time-invariant Linear system

EITF75 Systems and Signals

Example

Given: Input signal and impulse response

Three more methods Method 2

Result

Page 61: Lecture 2 LTI systems: convolutions, impulse …...EITF75 Systems and Signals system LTI systems A system is LTI if-and-only if: • It is linear • It is time-invariant Linear system

EITF75 Systems and Signals

Make sure that you understand why a convolution of a length K signal with a length L signal has length K+L-1

Page 62: Lecture 2 LTI systems: convolutions, impulse …...EITF75 Systems and Signals system LTI systems A system is LTI if-and-only if: • It is linear • It is time-invariant Linear system

EITF75 Systems and Signals

Example Three more methods Method 3: Analytical solution

Page 63: Lecture 2 LTI systems: convolutions, impulse …...EITF75 Systems and Signals system LTI systems A system is LTI if-and-only if: • It is linear • It is time-invariant Linear system

EITF75 Systems and Signals

Example Three more methods Method 3: Analytical solution

Page 64: Lecture 2 LTI systems: convolutions, impulse …...EITF75 Systems and Signals system LTI systems A system is LTI if-and-only if: • It is linear • It is time-invariant Linear system

EITF75 Systems and Signals

Example Three more methods Method 3: Analytical solution

Minor trick. Not really needed, but slightly simpler. Try without the trick at home

Page 65: Lecture 2 LTI systems: convolutions, impulse …...EITF75 Systems and Signals system LTI systems A system is LTI if-and-only if: • It is linear • It is time-invariant Linear system

EITF75 Systems and Signals

Example Three more methods Method 3: Analytical solution

Page 66: Lecture 2 LTI systems: convolutions, impulse …...EITF75 Systems and Signals system LTI systems A system is LTI if-and-only if: • It is linear • It is time-invariant Linear system

EITF75 Systems and Signals

Example Three more methods Method 3: Analytical solution

Page 67: Lecture 2 LTI systems: convolutions, impulse …...EITF75 Systems and Signals system LTI systems A system is LTI if-and-only if: • It is linear • It is time-invariant Linear system

EITF75 Systems and Signals

Example Three more methods Method 3: Analytical solution

Page 68: Lecture 2 LTI systems: convolutions, impulse …...EITF75 Systems and Signals system LTI systems A system is LTI if-and-only if: • It is linear • It is time-invariant Linear system

EITF75 Systems and Signals

Example Three more methods Method 3: Analytical solution

Page 69: Lecture 2 LTI systems: convolutions, impulse …...EITF75 Systems and Signals system LTI systems A system is LTI if-and-only if: • It is linear • It is time-invariant Linear system

EITF75 Systems and Signals

Example Three more methods Method 3: Analytical solution

Page 70: Lecture 2 LTI systems: convolutions, impulse …...EITF75 Systems and Signals system LTI systems A system is LTI if-and-only if: • It is linear • It is time-invariant Linear system

EITF75 Systems and Signals

Example Three more methods Method 3: Analytical solution

Thus

Page 71: Lecture 2 LTI systems: convolutions, impulse …...EITF75 Systems and Signals system LTI systems A system is LTI if-and-only if: • It is linear • It is time-invariant Linear system

EITF75 Systems and Signals

Standard Properties

Commutativity

Associativity

Distributivity

Page 72: Lecture 2 LTI systems: convolutions, impulse …...EITF75 Systems and Signals system LTI systems A system is LTI if-and-only if: • It is linear • It is time-invariant Linear system

EITF75 Systems and Signals

Some consequences

Commutativity

Associativity

Distributivity

Page 73: Lecture 2 LTI systems: convolutions, impulse …...EITF75 Systems and Signals system LTI systems A system is LTI if-and-only if: • It is linear • It is time-invariant Linear system

EITF75 Systems and Signals

Some consequences

Commutativity

Associativity

Distributivity

Page 74: Lecture 2 LTI systems: convolutions, impulse …...EITF75 Systems and Signals system LTI systems A system is LTI if-and-only if: • It is linear • It is time-invariant Linear system

EITF75 Systems and Signals

Some consequences

Commutativity

Associativity

Distributivity

Page 75: Lecture 2 LTI systems: convolutions, impulse …...EITF75 Systems and Signals system LTI systems A system is LTI if-and-only if: • It is linear • It is time-invariant Linear system

EITF75 Systems and Signals

BIBO stability

A system is BIBO stable if

Page 76: Lecture 2 LTI systems: convolutions, impulse …...EITF75 Systems and Signals system LTI systems A system is LTI if-and-only if: • It is linear • It is time-invariant Linear system

EITF75 Systems and Signals

BIBO stability

A system is BIBO stable if

For an LTI system

Page 77: Lecture 2 LTI systems: convolutions, impulse …...EITF75 Systems and Signals system LTI systems A system is LTI if-and-only if: • It is linear • It is time-invariant Linear system

EITF75 Systems and Signals

BIBO stability

A system is BIBO stable if

For an LTI system

Page 78: Lecture 2 LTI systems: convolutions, impulse …...EITF75 Systems and Signals system LTI systems A system is LTI if-and-only if: • It is linear • It is time-invariant Linear system

EITF75 Systems and Signals

BIBO stability

A system is BIBO stable if

For an LTI system

Page 79: Lecture 2 LTI systems: convolutions, impulse …...EITF75 Systems and Signals system LTI systems A system is LTI if-and-only if: • It is linear • It is time-invariant Linear system

EITF75 Systems and Signals

BIBO stability

A system is BIBO stable if

For an LTI system

An LTI system is stable if

Page 80: Lecture 2 LTI systems: convolutions, impulse …...EITF75 Systems and Signals system LTI systems A system is LTI if-and-only if: • It is linear • It is time-invariant Linear system

EITF75 Systems and Signals

Relation to difference equations

We have seen that an LTI system is fully described by an impulse response h(n)

Page 81: Lecture 2 LTI systems: convolutions, impulse …...EITF75 Systems and Signals system LTI systems A system is LTI if-and-only if: • It is linear • It is time-invariant Linear system

EITF75 Systems and Signals

Relation to difference equations

We have seen that an LTI system is fully described by an impulse response h(n)

We have also mentioned that difference equations are important for LTI systems

Page 82: Lecture 2 LTI systems: convolutions, impulse …...EITF75 Systems and Signals system LTI systems A system is LTI if-and-only if: • It is linear • It is time-invariant Linear system

EITF75 Systems and Signals

Relation to difference equations

We have seen that an LTI system is fully described by an impulse response h(n)

We have also mentioned that difference equations are important for LTI systems This means that every impulse response h(n) is equivalent to a difference equation We now investigate this

Page 83: Lecture 2 LTI systems: convolutions, impulse …...EITF75 Systems and Signals system LTI systems A system is LTI if-and-only if: • It is linear • It is time-invariant Linear system

EITF75 Systems and Signals

Relation to difference equations

Suppose

Page 84: Lecture 2 LTI systems: convolutions, impulse …...EITF75 Systems and Signals system LTI systems A system is LTI if-and-only if: • It is linear • It is time-invariant Linear system

EITF75 Systems and Signals

Relation to difference equations

Suppose

We then get

Page 85: Lecture 2 LTI systems: convolutions, impulse …...EITF75 Systems and Signals system LTI systems A system is LTI if-and-only if: • It is linear • It is time-invariant Linear system

EITF75 Systems and Signals

Relation to difference equations

Suppose

We then get This is a convolution, with a finite length impulse response b(n)

Page 86: Lecture 2 LTI systems: convolutions, impulse …...EITF75 Systems and Signals system LTI systems A system is LTI if-and-only if: • It is linear • It is time-invariant Linear system

EITF75 Systems and Signals

Relation to difference equations

Suppose

We then get This is a convolution, with a finite length impulse response b(n)

The class of systems described by difference equations encompasses LTI systems with finite length impulse responses

Page 87: Lecture 2 LTI systems: convolutions, impulse …...EITF75 Systems and Signals system LTI systems A system is LTI if-and-only if: • It is linear • It is time-invariant Linear system

EITF75 Systems and Signals

Relation to difference equations

Consider now

Page 88: Lecture 2 LTI systems: convolutions, impulse …...EITF75 Systems and Signals system LTI systems A system is LTI if-and-only if: • It is linear • It is time-invariant Linear system

EITF75 Systems and Signals

Relation to difference equations

Consider now

We then get

Page 89: Lecture 2 LTI systems: convolutions, impulse …...EITF75 Systems and Signals system LTI systems A system is LTI if-and-only if: • It is linear • It is time-invariant Linear system

EITF75 Systems and Signals

Relation to difference equations

Consider now

We then get

Page 90: Lecture 2 LTI systems: convolutions, impulse …...EITF75 Systems and Signals system LTI systems A system is LTI if-and-only if: • It is linear • It is time-invariant Linear system

EITF75 Systems and Signals

Relation to difference equations

Consider now

We then get

Page 91: Lecture 2 LTI systems: convolutions, impulse …...EITF75 Systems and Signals system LTI systems A system is LTI if-and-only if: • It is linear • It is time-invariant Linear system

EITF75 Systems and Signals

Relation to difference equations

Consider now

We then get

Page 92: Lecture 2 LTI systems: convolutions, impulse …...EITF75 Systems and Signals system LTI systems A system is LTI if-and-only if: • It is linear • It is time-invariant Linear system

EITF75 Systems and Signals

Relation to difference equations

Consider now

We then get

Pattern recognition, suitably done at home, gives

Page 93: Lecture 2 LTI systems: convolutions, impulse …...EITF75 Systems and Signals system LTI systems A system is LTI if-and-only if: • It is linear • It is time-invariant Linear system

EITF75 Systems and Signals

Relation to difference equations

Consider now

We then get

Pattern recognition, suitably done at home, gives

Convolution

Page 94: Lecture 2 LTI systems: convolutions, impulse …...EITF75 Systems and Signals system LTI systems A system is LTI if-and-only if: • It is linear • It is time-invariant Linear system

EITF75 Systems and Signals

Relation to difference equations

Consider now

We then get

Pattern recognition, suitably done at home, gives

Infinite Impulse response (IIR)

Page 95: Lecture 2 LTI systems: convolutions, impulse …...EITF75 Systems and Signals system LTI systems A system is LTI if-and-only if: • It is linear • It is time-invariant Linear system

EITF75 Systems and Signals

Relation to difference equations

Consider now

We then get

Pattern recognition, suitably done at home, gives

What is this?

Infinite Impulse response (IIR)

Page 96: Lecture 2 LTI systems: convolutions, impulse …...EITF75 Systems and Signals system LTI systems A system is LTI if-and-only if: • It is linear • It is time-invariant Linear system

EITF75 Systems and Signals

Relation to difference equations

Consider now

We then get

Pattern recognition, suitably done at home, gives

Infinite Impulse response (IIR)

What is this?

It does not depend on x(n)

Page 97: Lecture 2 LTI systems: convolutions, impulse …...EITF75 Systems and Signals system LTI systems A system is LTI if-and-only if: • It is linear • It is time-invariant Linear system

EITF75 Systems and Signals

Relation to difference equations

Consider now

We then get

Pattern recognition, suitably done at home, gives

Infinite Impulse response (IIR)

What is this?

It does not depend on x(n) If y(-1)≠0, we have output without any input

Page 98: Lecture 2 LTI systems: convolutions, impulse …...EITF75 Systems and Signals system LTI systems A system is LTI if-and-only if: • It is linear • It is time-invariant Linear system

EITF75 Systems and Signals

Relation to difference equations

Consider now

We then get

Pattern recognition, suitably done at home, gives

Infinite Impulse response (IIR)

What is this?

It does not depend on x(n) If y(-1)≠0, we have output without any input Not Linear system Not time-invariant

Page 99: Lecture 2 LTI systems: convolutions, impulse …...EITF75 Systems and Signals system LTI systems A system is LTI if-and-only if: • It is linear • It is time-invariant Linear system

EITF75 Systems and Signals

Relation to difference equations

Consider now

We then get

Infinite Impulse response (IIR)

It does not depend on x(n) If y(-1)≠0, we have output without any input Not Linear system Not time-invariant

If y(-1)=0, we say that the system is at rest. System is LTI

Page 100: Lecture 2 LTI systems: convolutions, impulse …...EITF75 Systems and Signals system LTI systems A system is LTI if-and-only if: • It is linear • It is time-invariant Linear system

EITF75 Systems and Signals

Relation to difference equations

Consider now

We then get

Infinite Impulse response (IIR)

It does not depend on x(n) If y(-1)≠0, we have output without any input Not Linear system Not time-invariant

If y(-1)=0, we say that the system is at rest. System is LTI

If y(-1) ≠ 0, we say that the system is not at rest/has initial conditions. Strictly speaking: Not LTI. However, so common, so still treated within a study of LTI systems

Page 101: Lecture 2 LTI systems: convolutions, impulse …...EITF75 Systems and Signals system LTI systems A system is LTI if-and-only if: • It is linear • It is time-invariant Linear system

EITF75 Systems and Signals

Relation to difference equations

Consider now

We then get

Infinite Impulse response (IIR)

Note: Only makes sense to assume So, transient will fade out and ”after a while it is LTI”

If y(-1)=0, we say that the system is at rest. System is LTI

If y(-1) ≠ 0, we say that the system is not at rest/has initial conditions. Strictly speaking: Not LTI. However, so common, so still treated within a study of LTI systems

Page 102: Lecture 2 LTI systems: convolutions, impulse …...EITF75 Systems and Signals system LTI systems A system is LTI if-and-only if: • It is linear • It is time-invariant Linear system

EITF75 Systems and Signals

Relation to difference equations

Consider now

We then get

Infinite Impulse response (IIR)

Note: Only makes sense to assume So, transient will fade out and ”after a while it is LTI”

If y(-1)=0, we say that the system is at rest. System is LTI

If y(-1) ≠ 0, we say that the system is not at rest/has initial conditions. Strictly speaking: Not LTI. However, so common, so still treated within a study of LTI systems

The class of systems described by difference equations encompasses LTI systems with infinite length impulse responses

Page 103: Lecture 2 LTI systems: convolutions, impulse …...EITF75 Systems and Signals system LTI systems A system is LTI if-and-only if: • It is linear • It is time-invariant Linear system

EITF75 Systems and Signals

Relation to difference equations

Consider now

We then get

Infinite Impulse response (IIR)

Note: Only makes sense to assume So, transient will fade out and ”after a while it is LTI”

If y(-1)=0, we say that the system is at rest. System is LTI

If y(-1) ≠ 0, we say that the system is not at rest/has initial conditions. Strictly speaking: Not LTI. However, so common, so still treated within a study of LTI systems

Every impulse response corresponds to one difference equation.

Page 104: Lecture 2 LTI systems: convolutions, impulse …...EITF75 Systems and Signals system LTI systems A system is LTI if-and-only if: • It is linear • It is time-invariant Linear system

EITF75 Systems and Signals

Brief info on correlation

Not focal point of course, but highly important in signal processing

Correlation measures similarity between two signals

Page 105: Lecture 2 LTI systems: convolutions, impulse …...EITF75 Systems and Signals system LTI systems A system is LTI if-and-only if: • It is linear • It is time-invariant Linear system

EITF75 Systems and Signals

Brief info on correlation

Not focal point of course, but highly important in signal processing

Auto correlation

Correlation measures similarity between two signals

Cross correlation

Measures similarity between time shifted versions of the same signal

Measures similarity between time shifted versions of different signals

Page 106: Lecture 2 LTI systems: convolutions, impulse …...EITF75 Systems and Signals system LTI systems A system is LTI if-and-only if: • It is linear • It is time-invariant Linear system

EITF75 Systems and Signals

Brief info on correlation

Not focal point of course, but highly important in signal processing

Auto correlation

Correlation measures similarity between two signals

Cross correlation

Measures similarity between time shifted versions of the same signal

Measures similarity between time shifted versions of different signals

Example: 5G communication system

UE1

UE2

When a user (UE) wants to connect, it sends a known signal, x1(n) or x2(n) x1(n)

x2(n)

Page 107: Lecture 2 LTI systems: convolutions, impulse …...EITF75 Systems and Signals system LTI systems A system is LTI if-and-only if: • It is linear • It is time-invariant Linear system

EITF75 Systems and Signals

Brief info on correlation

Not focal point of course, but highly important in signal processing

Auto correlation

Correlation measures similarity between two signals

Cross correlation

Measures similarity between time shifted versions of the same signal

Measures similarity between time shifted versions of different signals

Example: 5G communication system

UE1

UE2

When a user (UE) wants to connect, it sends a known signal, x1(n) or x2(n) x1(n)

x2(n)

Cross correlation between x1(n) and x2(n) should be small (to know who is connecting)

Page 108: Lecture 2 LTI systems: convolutions, impulse …...EITF75 Systems and Signals system LTI systems A system is LTI if-and-only if: • It is linear • It is time-invariant Linear system

EITF75 Systems and Signals

Brief info on correlation

Not focal point of course, but highly important in signal processing

Auto correlation

Correlation measures similarity between two signals

Cross correlation

Measures similarity between time shifted versions of the same signal

Measures similarity between time shifted versions of different signals

Example: 5G communication system

UE1

UE2

When a user (UE) wants to connect, it sends a known signal, x1(n) or x2(n) x1(n)

x2(n)

Auto correlation of x1(n) (and x2(n)) should be delta (to know when a user is connecting)

Page 109: Lecture 2 LTI systems: convolutions, impulse …...EITF75 Systems and Signals system LTI systems A system is LTI if-and-only if: • It is linear • It is time-invariant Linear system

EITF75 Systems and Signals

Brief info on correlation

Cross correlation for input and output signals