Signals & System: Introduction To Signals & Variables
Signals & System: Introduction To Signals & Variables
Signals & System: Introduction To Signals & Variables
Lecture 1
Introduction to Signals & Variables
Recommended
Haykin “Signals and Systems, John Wiley and Sons, 2002
http://www.mit.edu/~6.003/ - Signals and Systems at MIT
http://dynamo.ecn.purdue.edu/~bouman/ee301/ - Signals and
Systems at Purdue
http://www.jhu.edu/~signals/index.html - on-line set of Java
applets demonstrating various signals and system concepts2
Course Syllabus
1. Concepts : Systems, signals, mathematical models.
Continuous-time and discrete-time signals. Energy and
power signals. Linear systems. Examples for use
throughout the course, use of Matlab
2. Linear systems, Convolution : Impulse response, input
signals as continuum of impulses. Convolution, discrete-
time and continuous-time properties
3. Basis functions : Concept of basis function. Fourier series
representation of time functions. Fourier transform and its
properties. Examples, transform of simple time functions.
4. Sampling Discrete-time systems : Sampling theorem,
discrete Fourier transform
3
Course Syllabus (2)
Quizzes : 10%
Assignments : 10%
Sessionals : 30%
Final Exam : 50%
5
What is a Signal?
6
How is a Signal Represented?
Mathematically, signals are represented as a function of
one or more independent variables.
For instance a black & white video signal intensity is
dependent on x, y coordinates and time t f(x,y,t)
On this course, we shall be exclusively concerned with
signals that are a function of a single variable: time
f(t)
t
7
Example: Signals in an Electrical Circuit
R vs (t ) vc (t )
i (t )
R
dv (t )
i (t ) C c
vs
+
-
i C vc dt
dvc (t ) 1 1
vc (t ) vs (t )
dt RC RC
The signals vc and vs are patterns of variation over time
RC = 1
First order (exponential)
response for vc
t
t
Independent
variable
t
Independent
variable
9
Discrete-time signals
The value of signal exists only at equally spaced
discrete points in time
t
Independent
variable
t
Independent
variable
10
Discrete-time signals
Why to discretize
How to discretize
How closely spaced are the samples
Distinction between discrete & digital signals
How to denote discrete signals
Is image a discrete or continuous signal
The image is generally considered to be a
continuous variable
Sampling can however be used to obtain a discrete,
two dimensional signal (sampled image)
11
Notation
A continuous-time signal has independent variable
(time) in parentheses ()
xt
n 12
Continuous & Discrete-Time Signals
Continuous-Time Signals
Most signals in the real world are x(t)
continuous time, as the scale is
infinitesimally fine e.g voltage, velocity,
Denote by x(t), where the time interval
may be bounded (finite) or infinite t
Discrete-Time Signals
Some real world and many digital
signals are discrete time, as they are
sampled e.g. pixels, daily stock price x[n]
(anything that a digital computer
processes)
Denote by x[n], where n is an integer n
value that varies discretely
Sampled continuous signal
x[n] =x(nk) – k is sample time 13
Signal Properties
Particular interest in signals with certain properties:
Periodic signals: a signal that repeats itself after a fixed
period T, i.e. x(t) = x(t+T) for all t. e.g. A sin(t).
Even and odd signals: even if x(-t) = x(t), and odd if
x(-t) = -x(t). Examples are cos(t) and sin(t) signals.
Exponential and sinusoidal signals: a signal is (real)
exponential if it can be represented as x(t) = Ceat. The same
example is (complex) exponential C and a are complex.
Step and pulse signals: A pulse signal is one which is
nearly completely zero, apart from a short spike, d(t). A
step signal is zero up to a certain time, and then a constant
value after that time, u(t).
14
Signal
15
Signal
The image
16
Signal
The image
17
Signal
It is the variation pattern that conveys the
information, in a signal
Examples
Circuit
20
System
The camera
Image
Identified
21
System
23
Example: An Electrical Circuit System
R vs (t ) vc (t )
i (t )
R
dv (t )
i (t ) C c
vs
+
-
i C vc dt
dvc (t ) 1 1
vc (t ) vs (t )
dt RC RC
Simulink representation of the electrical circuit
vs, vc
vs(t) vc(t)
first order t
system
24
Continuous & Discrete-Time Models
Continuous-Time Systems
dvc (t ) 1 1
Most continuous time systems vc (t ) vs (t )
dt RC RC
represent how continuous
dv(t )
signals are transformed via m v(t ) f (t )
dt
differential equations. e.g.
First order differential equations
circuit, car velocity
Discrete-Time Systems
Most discrete time systems
represent how discrete signals y[n] 1.01y[n 1] x[n]
are transformed via difference
equations e.g. bank account, First order difference equations
discrete car velocity system
25
Properties of a System
26
Introduction to Matlab/Simulink (1)
Click on the Matlab Variable Command
icon/start menu browser window
initialises the Matlab
environment:
28
Introduction to Matlab/Simulink (3)
Click File-New to create a new workspace, and drag
and drop objects from the library onto the workspace.
30
How Are Signal & Systems Related?
How to design a system to extract specific pieces of
information from signals
– Estimate the heart rate from an electrocardiogram
– Estimate economic indicators (bear, bull) from
stock market values
Assume a signal is represented as: x(t) = g(d(t))
Design a system to “invert” the transformation g(), so
that y(t) = d(t)
34