Digital Signal Processing Using MATLAB 1st Edition by André Quinquis ISBN 9780470393574 Instant Download
Digital Signal Processing Using MATLAB 1st Edition by André Quinquis ISBN 9780470393574 Instant Download
https://ebookball.com/product/digital-signal-processing-using-
matlab-1st-edition-by-andra-c-quinquis-isbn-9780470393574-13830/
https://ebookball.com/product/signal-and-system-analysis-using-
matlab-1st-edition-by-luis-chaparro-0123747163-9780123747167-17604/
https://ebookball.com/product/digital-alias-free-signal-
processing-1st-edition-by-ivars-bilinskis-isbn-9780470027387-8948/
Digital Signal Processing Handbook 1st editon by Vijay
Madisetti ISBN 0849385725 978-0849385728
https://ebookball.com/product/digital-signal-processing-handbook-1st-
editon-by-vijay-madisetti-isbn-0849385725-978-0849385728-17724/
https://ebookball.com/product/digital-signal-processing-a-computer-
based-approach-2nd-edition-by-sanjit-mitra-b0089a45ww-17122/
https://ebookball.com/product/conceptual-wavelets-in-digital-signal-
processing-1st-edition-by-lee-fugal-
isbn-0982199457-9780982199459-11562/
https://ebookball.com/product/digital-signal-processing-
laboratory-2nd-edition-by-b-preetham-kumar-
isbn-1439817375-978-1439817377-13384/
This page intentionally left blank
Digital Signal Processing using MATLAB£
This page intentionally left blank
Digital Signal
Processing using
£
MATLAB
André Quinquis
First published in France in 2007 by Hermes Science/Lavoisier entitled “Le traitement du signal sous
Matlab£: pratique et applications”, 2nd edition
First published in Great Britain and the United States in 2008 by ISTE Ltd and John Wiley & Sons, Inc.
Apart from any fair dealing for the purposes of research or private study, or criticism or review, as
permitted under the Copyright, Designs and Patents Act 1988, this publication may only be reproduced,
stored or transmitted, in any form or by any means, with the prior permission in writing of the publishers,
or in the case of reprographic reproduction in accordance with the terms and licenses issued by the CLA.
Enquiries concerning reproduction outside these terms should be sent to the publishers at the
undermentioned address:
www.iste.co.uk www.wiley.com
The rights of André Quinquis to be identified as the author of this work have been asserted by him in
accordance with the Copyright, Designs and Patents Act 1988.
Quinquis, André.
[Traitement du signal sous MATLAB. English]
Digital signal processing using MATLAB / André Quinquis.
p. cm.
Includes bibliographical references and index.
ISBN 978-1-84821-011-0
1. Signal processing--Digital techniques. I. Title.
TK5102.9.Q853 2008
621.382'2--dc22
2007043209
Printed and bound in Great Britain by Antony Rowe Ltd, Chippenham, Wiltshire.
Table of Contents
Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ix
Chapter 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
1.1. Brief introduction to MATLAB . . . . . . . . . . . . . . . . . . . . . . . 1
1.1.1. MATLAB software presentation . . . . . . . . . . . . . . . . . . . . 1
1.1.2. Important MATLAB commands and functions . . . . . . . . . . . . 3
1.1.3. Operating modes and programming with MATLAB . . . . . . . . . 8
1.1.4. Example of work session with MATLAB . . . . . . . . . . . . . . . 10
1.1.5. MATLAB language . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
1.2. Solved exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 405
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 407
Preface
Sometimes it is easier to say what a book is not than what it exactly represents. It
may be also better to resume the authors’ motivations than to explain the book
content itself.
From this point of view, our book is certainly not a traditional course, although it
recalls many theoretical signal processing concepts. Indeed, we emphasize a limited
number of important ideas instead of making a detailed description of the involved
concepts. Intuitive manners have been used to link these concepts to physical
aspects. Hence, we hope that reading this book will be much more exciting than
studying a traditional signal processing course.
This book is also not a physics course, although a major purpose of most
proposed exercises is to link abstract signal processing concepts to real-life
problems. These connections are illustrated in a simple and comprehensive manner
through MATLAB£ simulations.
The main topics of this book cover the usual program of an undergraduate signal
processing course. It is especially written for language and computer science
students, but also for a much larger scientific community who may wish to have a
comprehensive signal processing overview. Students will certainly find here what
they are looking for, while others will probably find new and interesting knowledge.
This book is also intended to illustrate our pedagogical approach, which is based
on three major reasons:
1. Students need to know how the teaching provided can be useful for them; it is
their customer attitude.
x Digital Signal Processing using MATLAB
2. Students have good potential for doing independent work; their interest and
curiosity should be continuously stimulated by:
– using a diversified pedagogical approach that combines the two sides of a
complete presentation methodology: from components to the system and vice versa;
– encouraging them to take advantage of their creativity through interactive
educational tools; they should be allowed to make changes and even contribute to
their development.
3. Students have to improve and validate their knowledge through written work;
writing is still the best way to focus someone’s concentration.
The role of simulations is becoming more and more important in the framework
of a scientific education because it is an effective way to understand many physical
phenomena, some of them less known or mastered, and to take into account their
complexity. Simulations may be thus very useful for:
− understanding working principles and deriving behavior laws;
− learning about processing methods and systems running using algorithms to
reproduce them off-line;
− evaluating the performance and robustness of various algorithms and
estimating the influence of different parameters.
This book is based on a signal processing course, which has been successfully given
for many years in several universities. According to our experience, signal theory
abstract concepts and signal processing practical potentialities can be linked only through
tutorial classes and simulation projects. In this framework, simulations appear to be the
necessary complement for the classical tripod theory – modeling – experimentation.
This book brings together into a clear and concise presentation the main signal
processing methods and the related results, using MATLAB software as a simulation
tool. Why MATLAB? Because it is:
− simple to learn and to use;
− powerful and flexible;
− accurate, robust and fast;
− widespread in both academic and industrial environments;
− continuously updated by professionals.
Preface xi
The word “signal” stands for a physical entity, most often of an electrical nature,
like that observed at a microphone output. It is submitted to various transformations
when it goes through a system. Thus, in a communication chain, the signal is subject
to some changes (distortion, attenuation, etc.), which can make it unrecognizable.
The aim is to understand this evolution in order to properly recover the initial
message.
There are many other processes, which give different and apparently
unpredictable results, although they are observed using identical experimental
conditions. They are known as random processes, such as the receiver’s thermal
noise. The wide sense stationary random processes, which form a particularly
interesting class of these signals, are presented in Chapter 3. Some useful statistical
tools for testing different hypothesis about their parameters behavior are provided in
Chapter 4.
From a very general point of view, digital signal processing covers all the
operations, arithmetical calculations and number handling performed on the signal
to be processed, defined by a number series, in order to obtain a transformed number
series representing the processed signal. Very different functions can be carried out
in this way, such as classical spectral analysis (Chapter 10), time-frequency analysis
(Chapters 11 and 12), linear filtering (Chapters 7 and 8), detection and estimation
(Chapter 9), and feature extraction for information classification or compression
(Chapters 13 and 14).
André QUINQUIS
Chapter 1
Introduction
This digital simulation software enables a fast and simple visualization of the
obtained results.
MATLAB is especially designed for digital signal processing and for complex
digital system modeling and simulation. It is also suitable for processing data series,
images or multidimensional data fields.
Ut quamvis avido
———Horrentia Martis
Arma———
scarce a word without an r, and the vowels, for the greater part,
sonorous. The prefacer began with Ille ego, which he was
constrained to patch up in the fourth line with at nunc, to make the
sense cohere; and, if both those words are not notorious botches, I
am much deceived, though the French translator thinks otherwise.
For my own part, I am rather of the opinion, that they were added
by Tucca and Varius, than retrenched.
I know it may be answered, by such as think Virgil the author of the
four lines, that he asserts his title to the Æneïs in the beginning of
this work, as he did to the two former in the last lines of the Fourth
Georgic. I will not reply otherwise to this, than by desiring them to
compare these four lines with the four others, which we know are
his, because no poet but he alone could write them. If they cannot
distinguish creeping from flying, let them lay down Virgil, and take
up Ovid, de Ponto, in his stead. My master needed not the
assistance of that preliminary poet to prove his claim. His own
majestic mien discovers him to be the king, amidst a thousand
courtiers. It was a superfluous office; and, therefore, I would not set
those verses in the front of Virgil, but have rejected them[90] to my
own preface.
If there be not a tolerable line in all these six, the prefacer gave me
no occasion to write better. This is a just apology in this place; but I
have done great wrong to Virgil in the whole translation: want of
time, the inferiority of our language, the inconvenience of rhyme,
and all the other excuses I have made, may alleviate my fault, but
cannot justify the boldness of my undertaking. What avails it me to
acknowledge freely, that I have not been able to do him right in any
line? for even my own confession makes against me; and it will
always be returned upon me, "Why then did you attempt it?" To
which no other answer can be made, than that I have done him less
injury than any of his former libellers.
What they called his picture, had been drawn at length, so many
times, by the daubers of almost all nations, and still so unlike him,
that I snatched up the pencil with disdain; being satisfied before-
hand, that I could make some small resemblance of him, though I
must be content with a worse likeness. A Sixth Pastoral, a
Pharmaceutria, a single Orpheus, and some other features, have
been exactly taken: but those holiday-authors writ for pleasure; and
only showed us what they could have done, if they would have
taken pains to perform the whole.
Be pleased, my lord, to accept, with your wonted goodness, this
unworthy present which I make you. I have taken off one trouble
from you, of defending it, by acknowledging its imperfections: and,
though some part of them are covered in the verse, (as Erichthonius
rode always in a chariot, to hide his lameness,) such of them as
cannot be concealed, you will please to connive at, though, in the
strictness of your judgment, you cannot pardon. If Homer was
allowed to nod sometimes in so long a work, it will be no wonder if I
often fall asleep. You took my "Aureng-Zebe"[91] into your
protection, with all his faults: and I hope here cannot be so many,
because I translate an author who gives me such examples of
correctness. What my jury may be, I know not; but it is good for a
criminal to plead before a favourable judge: if I had said partial,
would your lordship have forgiven me? or will you give me leave to
acquaint the world, that I have many times been obliged to your
bounty since the Revolution? Though I never was reduced to beg a
charity, nor ever had the impudence to ask one, either of your
lordship, or your noble kinsman the Earl of Dorset,[92] much less of
any other; yet, when I least expected it, you have both remembered
me: so inherent it is in your family not to forget an old servant. It
looks rather like ingratitude on my part, that, where I have been so
often obliged, I have appeared so seldom to return my thanks, and
where I was also so sure of being well received. Somewhat of
laziness was in the case, and somewhat too of modesty, but nothing
of disrespect or of unthankfulness. I will not say that your lordship
has encouraged me to this presumption, lest, if my labours meet
with no success in public, I may expose your judgment to be
censured. As for my own enemies, I shall never think them worth an
answer; and, if your lordship has any, they will not dare to arraign
you for want of knowledge in this art, till they can produce
somewhat better of their own, than your "Essay on Poetry." It was
on this consideration, that I have drawn out my preface to so great a
length. Had I not addressed to a poet and a critic of the first
magnitude, I had myself been taxed for want of judgment, and
shamed my patron for want of understanding. But neither will you,
my lord, so soon be tired as any other, because the discourse is on
your art; neither will the learned reader think it tedious, because it
is[93]ad Clerum. At least, when he begins to be weary, the church-
doors are open. That I may pursue the allegory with a short prayer
after a long sermon—
May you live happily and long, for the service of your country, the
encouragement of good letters, and the ornament of poetry; which
cannot be wished more earnestly by any man, than by
Your Lordship's
Most humble,
[83] He alludes to Cowley, who was forced abroad by the ill fate
of the royal party in the civil wars.
[84] Our author has, however, availed himself of this licence in his
earlier poetry.
[85] The confusion occasioned by the rules of the mint, then
recently adopted, created great inconvenience and distress to
individuals. It is often mentioned in the correspondence between
Tonson and Dryden.
[86] Nevertheless, our author, long before undertaking the
translation of Virgil, had given a noble paraphrase of these lines
in the Hind's address to the Panther:
Vol. X. p. 184.
BOOK I.
ARGUMENT.
The Trojans, after a seven years' voyage, set sail for Italy, but are
overtaken by a dreadful storm, which Æolus raises at Juno's
request. The tempest sinks one, and scatters the rest. Neptune
drives off the Winds, and calms the sea. Æneas, with his own
ship, and six more, arrives safe at an African port. Venus
complains to Jupiter of her son's misfortunes. Jupiter comforts
her, and sends Mercury to procure him a kind reception among
the Carthaginians. Æneas, going out to discover the country,
meets his mother, in the shape of a huntress, who conveys him
in a cloud to Carthage, where he sees his friends whom he
thought lost, and receives a kind entertainment from the queen.
Dido, by a device of Venus, begins to have a passion for him,
and, after some discourse with him, desires the history of his
adventures since the siege of Troy, which is the subject of the
two following Books.
Our website is not just a platform for buying books, but a bridge
connecting readers to the timeless values of culture and wisdom. With
an elegant, user-friendly interface and an intelligent search system,
we are committed to providing a quick and convenient shopping
experience. Additionally, our special promotions and home delivery
services ensure that you save time and fully enjoy the joy of reading.
ebookball.com