Week 1
Week 1
Week 1
(ii) Realize that signals and systems arise in our daily life
What is Signal?
Anything that conveys information, e.g.,
Speech
Electrocardiogram (ECG)
Radar pulse
DNA sequence
Stock price
Code division multiple access (CDMA) signal
Image
Video
0.8
0.6
0.4
vowel of "a"
0.2
-0.2
-0.4
-0.6
0 0.005 0.01 0.015 0.02
time (s)
Fig.1.1: Speech
250
200
150
ECG 100
50
-50
0 0.5 1 1.5 2 2.5
time (s)
Fig.1.2: ECG
1
transmitted pulse
0.5
-0.5
-1
0 0.2 0.4 0.6 0.8 1
time
1
received pulse
0.5
-0.5
-1
0 0.2 0.4 0.6 0.8 1
time
(1.1)
computer
analog sampled quantized
signal signal signal
amplitude
amplitude
amplitude
1 1
0 t 0 t 0 t
at and .
system
input output
discrete-time
system
discrete-time discrete-time
input output
DJIA
10500
20-day MA
10000
9500
9000
8500
8000
7500
7000
6500
50 100 150 200 250
Trading day of 2009
(1.2)
Why Important?
Signals and systems arise in our daily life, studying it will
lay a good foundation for you in other relevant/higher-
level courses and to solve real-world problems:
Generate signals which meet certain specifications, e.g.,
synthesized speech and music.
Design systems which produce desired outputs, e.g., a
system which suppresses noise in the measured data
New signal representation for efficient data processing,
e.g., David Donoho proposed sparse representation
and obtained the Shaw Prize 2013 (邵逸夫數學科學獎).
https://www.youtube.com/watch?v=5wv4grOMgIU
How to Study?
Make sure you have a clear concept and then practice.
Introduction
• Digital Signal Processing (DSP) is the application of a digital computer
to modify an analog or digital signal. Typically, the signal being
processed is either temporal, spatial, or both. For example, an audio
signal is temporal, while an image is spatial.
• A movie is both temporal and spatial. The analysis of temporal signals
makes heavy use of the Fourier transform in one time variable and
one frequency variable. Spatial signals require two independent
variables. Analysis of such signals relies on the Fourier transform in
two frequency variables.
• Our main goal is to be able to design digital LTI filters. Such filters are
using widely in applications such as audio entertainment systems,
telecommunication and other kinds of communication systems, radar,
video enhancement, and biomedical engineering. The first half of the
course will be spent reviewing and developing the fundamentals
necessary to understand the design of digital filters. Then we will
examine the basic types of filters and the myriad of design issues
surrounding them.
• From the outset, the student should recognize that there are two
distinct classes of applications for digital filters. Real-time applications
are those where data streams into the filter and must be processed
immediately. A significant delay in generating the filter output data
cannot be tolerated. Such applications include communication
networks of all sorts, musical performance, public address systems,
and patient monitoring. Real-time filtering is sometimes called on-line
processing and is based on the theory of causal systems.
• Non-real-time applications are those where a filter used to process a pre-existing
(i.e. stored) file of data. In this case, the engineer is typically allotted a large amount
of time over which the processing of data may be performed.
• Such applications include audio recording and mastering, image processing, and the
analysis of seismic data. Non-real-time filtering is sometimes called off-line
processing and is based on the theory of noncausal systems.
• In these applications, the fact that noncausal filters may be employed opens the
door to a much wider range of filters commensurately better results. For example,
one problem typical of real-time filtering is phase distortion, which we will study in
detail in this course. Phase distortion can be eliminated completely if noncausal
filters are permitted.
• The first part of the course will consist of review material from signals
and systems. Throughout the course, we will rely heavily on the
theory of Fourier transforms, since much of signal processing and
filter theory is most easily addressed in the frequency domain. It will
be convenient to refer to commonly used transform concepts by the
following acronyms:
• CTFT: Continuous-Time Fourier Transform
• DTFT: Discrete-Time Fourier Transform
• CFS: Continuous-Time Fourier Series
• DFS: Discrete-Time Fourier Series
• LT: Laplace Transform
• DFT: Discrete Fourier Transform
• ZT: z-Transform
An «I» preceding an acronym indicates «Inverse» as in IDTFT and IDFT. All of
these concepts should be familiar to the student, except the DFT and ZT,
which we will define and study in detail.
Review of the DT Fourier Transform
• Definition and Properties
The CT Fourier transform (CTFT) of a CT signal x (t) is
• Linearity:
• Time Shift:
• Frequency Shift:
• Time/Frequency Scaling:
• Convolution:
• Multiplication:
• Time Differencing:
• Accumulation:
• Frequency Differentiation:
• Conjugation:
• Reflection:
• Parseval’s Theorem:
Example 2.1 The DT unit impulse
• has DTFT
Example 2.2 The unit impulse train in
frequency
• so
• and
Example 2.3 Define the DT rectangular
window
• The DTFT is
• The real factor in WN (ejΩ ) is the «periodic sinc» function:
Periodic Convolution
• The multiplication property involves the periodic convolution
• Since X ejΩ and Y ejΩ both have period 2π; the linear (i.e. ordinary) convolution
blows up:
• So
• Note that
• so ejΩ0kn and, therefore, x [n] have period N:
• Formula
• Formula
and DFS
• The Fourier coefficients also have period N and may be derived from x
[n] via the summation
In both the DFS
• Time-Shift:
• Frequency Shift:
• Time/Frequency Scaling:
• Convolution:
• Multiplication:
• Time Differencing:
• Accumulation:
• Frequency Differencing:
• Conjugation:
• Reflection:
• Even-Odd:
• Parseval’s Theorem:
• Many of the properties of the DFS appear to be «mirror images» of
one another. This principle is called duality and is the result of the
similarity of equations
and
• But
• so