29
Signals and Systems E-623 Lecture 1 Introduction د. حلوانى ممدوح ال باسم

Lecture 1 Introduction - BU Shoubra... · Signals and Systems - Basem ElHalawany 5 Signals Models • Signal is a function of time that represent the evolution of variable • Signal

  • Upload
    others

  • View
    2

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Lecture 1 Introduction - BU Shoubra... · Signals and Systems - Basem ElHalawany 5 Signals Models • Signal is a function of time that represent the evolution of variable • Signal

Signals and Systems E-623

Lecture 1

Introduction

باسم ممدوح الحلوانى . د

Page 2: Lecture 1 Introduction - BU Shoubra... · Signals and Systems - Basem ElHalawany 5 Signals Models • Signal is a function of time that represent the evolution of variable • Signal

Signals and Systems - Basem ElHalawany 2

Course Info Course Info

Title Title Signals and Systems

Code Code E-623

Lecturer: Lecturer: Dr. Basem ElHalawany

References References Multiple references will be used

Software Packages Software Packages Matlab (M-files & Simulink)

http://www.bu.edu.eg/staff/basem.mamdoh

http://www.bu.edu.eg/staff/basem.mamdoh-courses/12137 Course Webpage Course Webpage

Lecturer Webpage: Lecturer Webpage:

[email protected] / [email protected] Lecturer Email Lecturer Email

Page 3: Lecture 1 Introduction - BU Shoubra... · Signals and Systems - Basem ElHalawany 5 Signals Models • Signal is a function of time that represent the evolution of variable • Signal

Signals and Systems - Basem ElHalawany 3

Course Aims Course Aims

• To introduce the mathematical tools for analysing signals and systems in the time and frequency domain and to provide a basis for applying these techniques in engineering

• Mathematical understanding and Matlab/Simulink-based application

• Analyse both continuous time and discrete time signals and systems

• Analysis performed in both time and frequency domain

• Tools can be used for communications and control

Page 4: Lecture 1 Introduction - BU Shoubra... · Signals and Systems - Basem ElHalawany 5 Signals Models • Signal is a function of time that represent the evolution of variable • Signal

Signals and Systems - Basem ElHalawany 4

Course Contents Course Contents

1. Signals and Systems: Definitions – Classification – Properties 2. Fourier Series: Definition - Properties – Applications 3. Introduction to Fast Fourier Transform. 4. Introduction to Z-Transforms. 5. Introduction to Laplace-Transforms. 6. Time-domain modeling and analysis of LTI systems.

Introducing Matlab 1. M-files Programing 2. Simulink

Introducing Matlab 1. M-files Programing 2. Simulink

Page 5: Lecture 1 Introduction - BU Shoubra... · Signals and Systems - Basem ElHalawany 5 Signals Models • Signal is a function of time that represent the evolution of variable • Signal

Signals and Systems - Basem ElHalawany 5

Signals Models Signals Models

• Signal is a function of time that represent the evolution of variable

• Signal is a pattern of variation of some form • Signal is variable that carry information

• Signal is a function of time that represent the evolution of variable

• Signal is a pattern of variation of some form • Signal is variable that carry information

Electrical signals –Voltages and currents in a circuit

Acoustic signals –Acoustic pressure (sound) over time

Mechanical signals –Velocity of a car over time

Video signals –Intensity level of a pixel (camera, video) over time

Examples of signal include: Examples of signal include:

Page 6: Lecture 1 Introduction - BU Shoubra... · Signals and Systems - Basem ElHalawany 5 Signals Models • Signal is a function of time that represent the evolution of variable • Signal

6

How is a Signal Represented? How is a Signal Represented?

Mathematically, signals are represented as a function of one or more independent variables.

Mathematically, signals are represented as a function of one or more independent variables.

On this course, we shall be exclusively concerned with

signals that are a function of a single variable: time t

f(t)

Signals and Systems - Basem ElHalawany

Page 7: Lecture 1 Introduction - BU Shoubra... · Signals and Systems - Basem ElHalawany 5 Signals Models • Signal is a function of time that represent the evolution of variable • Signal

7

Signals Described in Math Form: Signals Described in Math Form:

How is a Signal Represented? How is a Signal Represented?

• Consider the network of Figure 1.1 where the switch is closed at time t = 0 • We wish to describe Vout in a math form for the interval:

• We should divide the time interval into 2 parts:

Signals and Systems - Basem ElHalawany

Page 8: Lecture 1 Introduction - BU Shoubra... · Signals and Systems - Basem ElHalawany 5 Signals Models • Signal is a function of time that represent the evolution of variable • Signal

8

Signals Described in Math Form: Signals Described in Math Form:

How is a Signal Represented? How is a Signal Represented?

• By combining both equations, we could get:

This waveform is an example of a discontinuous function.

A function is said to be discontinuous if it exhibits points of discontinuity, that is, the function jumps from one value to another without taking on any intermediate values.

This waveform is an example of a discontinuous function.

A function is said to be discontinuous if it exhibits points of discontinuity, that is, the function jumps from one value to another without taking on any intermediate values.

Signals and Systems - Basem ElHalawany

Page 9: Lecture 1 Introduction - BU Shoubra... · Signals and Systems - Basem ElHalawany 5 Signals Models • Signal is a function of time that represent the evolution of variable • Signal

9

This signal is very similar to a well-known discontinuous function in communication engineering.

This signal is very similar to a well-known discontinuous function in communication engineering.

How is a Signal Represented? How is a Signal Represented?

Signals and Systems - Basem ElHalawany

A waveform that changes abruptly from 0 to 1 at t = 0

What is the difference if the waveform changes at t = t0 instead of t =0

Page 10: Lecture 1 Introduction - BU Shoubra... · Signals and Systems - Basem ElHalawany 5 Signals Models • Signal is a function of time that represent the evolution of variable • Signal

10

How is a Signal Represented? How is a Signal Represented?

Signals and Systems - Basem ElHalawany

This is the “Time-Shift” property of signals

Page 11: Lecture 1 Introduction - BU Shoubra... · Signals and Systems - Basem ElHalawany 5 Signals Models • Signal is a function of time that represent the evolution of variable • Signal

11

CLASSIFICATION OF TIME-DEPENDENT SIGNALS CLASSIFICATION OF TIME-DEPENDENT SIGNALS

A signal is classified into several categories depending upon the criteria used for its classification.

A signal is classified into several categories depending upon the criteria used for its classification.

1. Deterministic or Random 1. Deterministic or Random

If the value of a signal can be predicted for all time in advance without any error, it is referred to as a deterministic signal.

Deterministic signals can generally be expressed in a mathematical, or graphical, or tabular form.

If the value of a signal can be predicted for all time in advance without any error, it is referred to as a deterministic signal.

Deterministic signals can generally be expressed in a mathematical, or graphical, or tabular form.

t x(t)

0 0

1 5

2 8

3 10

4 8

5 5

Deterministic Signals Deterministic Signals

Page 12: Lecture 1 Introduction - BU Shoubra... · Signals and Systems - Basem ElHalawany 5 Signals Models • Signal is a function of time that represent the evolution of variable • Signal

12

CLASSIFICATION OF TIME-DEPENDENT SIGNALS CLASSIFICATION OF TIME-DEPENDENT SIGNALS

Signals and Systems - Basem ElHalawany

1. Deterministic or Random 1. Deterministic or Random

Conversely, signals whose values cannot be predicted with complete accuracy for all time are known as random signals.

Random signals cannot be modeled precisely and generally characterized by statistical measures such as means, standard deviations, and mean squared values.

Random Signals Random Signals

received signal due to random noise – thermal noise generated by a resistor.

Examples Examples

Page 13: Lecture 1 Introduction - BU Shoubra... · Signals and Systems - Basem ElHalawany 5 Signals Models • Signal is a function of time that represent the evolution of variable • Signal

13

If a signal is defined for all values of the independent variable t, it is called a continuous-time (CT) signal.

If a signal is defined for all values of the independent variable t, it is called a continuous-time (CT) signal.

Signals and Systems - Basem ElHalawany

2. Continuous-Time (CT) and Discrete-Time (DT) Signals 2. Continuous-Time (CT) and Discrete-Time (DT) Signals

CLASSIFICATION OF TIME-DEPENDENT SIGNALS CLASSIFICATION OF TIME-DEPENDENT SIGNALS

• CT signal is denoted by x(t) with regular parenthesis

Page 14: Lecture 1 Introduction - BU Shoubra... · Signals and Systems - Basem ElHalawany 5 Signals Models • Signal is a function of time that represent the evolution of variable • Signal

14

2. Continuous-Time (CT) and Discrete-Time (DT) Signals 2. Continuous-Time (CT) and Discrete-Time (DT) Signals

CLASSIFICATION OF TIME-DEPENDENT SIGNALS CLASSIFICATION OF TIME-DEPENDENT SIGNALS

• we denote a one-dimensional (1D) DT signal x by x[k]

if a signal is defined only at discrete values of time, it is called a discrete-time (DT) signal.

DT is denoted with square parenthesis as follow:

where T denotes the time interval between two consecutive samples.

• temperature of a room measured at the same hour every day for one week.

• No information is available for the temperature in between the daily readings.

• we denote a Two-dimensional (2D) DT signal x by x[m,n] like the output of CCD camera

Page 15: Lecture 1 Introduction - BU Shoubra... · Signals and Systems - Basem ElHalawany 5 Signals Models • Signal is a function of time that represent the evolution of variable • Signal

15

2. Continuous-Time (CT) and Discrete-Time (DT) Signals 2. Continuous-Time (CT) and Discrete-Time (DT) Signals

CLASSIFICATION OF TIME-DEPENDENT SIGNALS CLASSIFICATION OF TIME-DEPENDENT SIGNALS

Substitute

Page 16: Lecture 1 Introduction - BU Shoubra... · Signals and Systems - Basem ElHalawany 5 Signals Models • Signal is a function of time that represent the evolution of variable • Signal

16

3. Analog and digital signals 3. Analog and digital signals

CLASSIFICATION OF TIME-DEPENDENT SIGNALS CLASSIFICATION OF TIME-DEPENDENT SIGNALS

A second classification of signals is based on their amplitudes A signal whose amplitude can take on any value in a continuous range is an

analog signal. This means that an analog signal amplitude can take on an infinite number of

values. The amplitudes of many real-world signals, such as voltage, current,

temperature, and pressure are analog

Digital signals, on the other hand, can only have a finite number of amplitude values.

Signals associated with typical digital devices take on only two values (binary signals).

A digital signal whose amplitudes can take on L values is an L-ary signal of which binary (L = 2) is a special case.

Page 17: Lecture 1 Introduction - BU Shoubra... · Signals and Systems - Basem ElHalawany 5 Signals Models • Signal is a function of time that represent the evolution of variable • Signal

17

3. Analog and digital signals 3. Analog and digital signals

CLASSIFICATION OF TIME-DEPENDENT SIGNALS CLASSIFICATION OF TIME-DEPENDENT SIGNALS

The terms “continuous-time” and “discrete-time” qualify the nature of a signal along the time (horizontal) axis.

The terms “analog” and “digital,” on the other hand, qualify the nature of the signal amplitude (vertical) axis.

It is clear that analog is not necessarily continuous-time and that digital need not be discrete-time. It is clear that analog is not necessarily continuous-time and that digital need not be discrete-time.

Analog, CT Analog, CT Digital, CT Digital, CT

Analog, DT Analog, DT Digital, DT Digital, DT

Page 18: Lecture 1 Introduction - BU Shoubra... · Signals and Systems - Basem ElHalawany 5 Signals Models • Signal is a function of time that represent the evolution of variable • Signal

18

4. Periodic and aperiodic signals 4. Periodic and aperiodic signals

CLASSIFICATION OF TIME-DEPENDENT SIGNALS CLASSIFICATION OF TIME-DEPENDENT SIGNALS

The smallest positive value is referred to as the fundamental period of x(t).

at all time t and for some positive constant T0 .

at all time k and for some positive constant K0

The reciprocal of the fundamental period of a signal is called the fundamental frequency.

Page 19: Lecture 1 Introduction - BU Shoubra... · Signals and Systems - Basem ElHalawany 5 Signals Models • Signal is a function of time that represent the evolution of variable • Signal

19

4. Periodic and aperiodic signals 4. Periodic and aperiodic signals

CLASSIFICATION OF TIME-DEPENDENT SIGNALS CLASSIFICATION OF TIME-DEPENDENT SIGNALS

A familiar example of a periodic signal is a sinusoidal function

The sinusoidal signal x(t) has a fundamental period : The sinusoidal signal x(t) has a fundamental period :

And Since : And Since :

For m =1 For m =1

A signal that is not periodic is called an aperiodic or non-periodic signal.

A signal that is not periodic is called an aperiodic or non-periodic signal.

Page 20: Lecture 1 Introduction - BU Shoubra... · Signals and Systems - Basem ElHalawany 5 Signals Models • Signal is a function of time that represent the evolution of variable • Signal

20

Introduction to Matlab Programming Introduction to Matlab Programming

Matlab (Matrix Laboratory) is a dynamic environment for matrix/vector analysis where User can build programs (in .m files or at command line) Matlab (Matrix Laboratory) is a dynamic environment for matrix/vector analysis where User can build programs (in .m files or at command line)

Page 21: Lecture 1 Introduction - BU Shoubra... · Signals and Systems - Basem ElHalawany 5 Signals Models • Signal is a function of time that represent the evolution of variable • Signal

21

Introduction to Matlab Programming Introduction to Matlab Programming

• Click on the Matlab icon/start menu initialises the Matlab environment:

• The main window is the dynamic command

interpreter which allows the user to issue Matlab

commands

• The variable browser shows which variables

currently exist in the workspace

• Click on the Matlab icon/start menu initialises the Matlab environment:

• The main window is the dynamic command

interpreter which allows the user to issue Matlab

commands

• The variable browser shows which variables

currently exist in the workspace

Variable browser

Command window

Page 22: Lecture 1 Introduction - BU Shoubra... · Signals and Systems - Basem ElHalawany 5 Signals Models • Signal is a function of time that represent the evolution of variable • Signal

22

Introduction to Matlab Programming Introduction to Matlab Programming

Entering Matrices - Direct entry

Page 23: Lecture 1 Introduction - BU Shoubra... · Signals and Systems - Basem ElHalawany 5 Signals Models • Signal is a function of time that represent the evolution of variable • Signal

23

Introduction to Matlab Programming Introduction to Matlab Programming

Subscript

Page 24: Lecture 1 Introduction - BU Shoubra... · Signals and Systems - Basem ElHalawany 5 Signals Models • Signal is a function of time that represent the evolution of variable • Signal

24

Introduction to Matlab Programming Introduction to Matlab Programming

Colon : operator

Page 25: Lecture 1 Introduction - BU Shoubra... · Signals and Systems - Basem ElHalawany 5 Signals Models • Signal is a function of time that represent the evolution of variable • Signal

25

Introduction to Matlab Programming Introduction to Matlab Programming

Page 26: Lecture 1 Introduction - BU Shoubra... · Signals and Systems - Basem ElHalawany 5 Signals Models • Signal is a function of time that represent the evolution of variable • Signal

26

Introduction to Matlab Programming Introduction to Matlab Programming

Entering Matrices (8) - Concatenate & delete

Page 27: Lecture 1 Introduction - BU Shoubra... · Signals and Systems - Basem ElHalawany 5 Signals Models • Signal is a function of time that represent the evolution of variable • Signal

27

Introduction to Matlab Programming Introduction to Matlab Programming

MATLAB Graphics(1) - Creating a Plot

Page 28: Lecture 1 Introduction - BU Shoubra... · Signals and Systems - Basem ElHalawany 5 Signals Models • Signal is a function of time that represent the evolution of variable • Signal

28

Introduction to Matlab Programming Introduction to Matlab Programming

MATLAB Help & Documentation

Page 29: Lecture 1 Introduction - BU Shoubra... · Signals and Systems - Basem ElHalawany 5 Signals Models • Signal is a function of time that represent the evolution of variable • Signal

29

1. Mrinal Mandal, Amir Asif, “Continuous and discrete time signals and systems”, Cambridge University Press (2007)

2. Steven T. Karris, “Signals and Systems with MATLAB Computing and Simulink Modeling “, 4th Edition, Apr.2008

1. Mrinal Mandal, Amir Asif, “Continuous and discrete time signals and systems”, Cambridge University Press (2007)

2. Steven T. Karris, “Signals and Systems with MATLAB Computing and Simulink Modeling “, 4th Edition, Apr.2008

References References