MATLAB Programming with Applications for Engineers 1st Edition Edition Stephen J. Chapman pdf download
MATLAB Programming with Applications for Engineers 1st Edition Edition Stephen J. Chapman pdf download
https://ebookname.com/product/matlab-programming-with-
applications-for-engineers-1st-edition-edition-stephen-j-chapman/
https://ebookname.com/product/matlab-programming-for-
engineers-3rd-edition-stephen-j-chapman/
https://ebookname.com/product/c-programming-for-scientists-and-
engineers-with-applications-1st-edition-rama-reddy/
https://ebookname.com/product/introduction-to-matlab-for-
engineers-3rd-edition-william-j-palm/
https://ebookname.com/product/clinical-psychology-in-
practice-1st-edition-susan-llewelyn/
Handbook of Pediatric Obesity Clinical Management 1st
Edition Melinda S. Sothern
https://ebookname.com/product/handbook-of-pediatric-obesity-
clinical-management-1st-edition-melinda-s-sothern/
https://ebookname.com/product/p-adic-functional-analysis-
proceedings-of-the-sixth-international-conference-1st-edition-a-
k-katsaras/
https://ebookname.com/product/blowing-agents-and-foaming-
processes-2012-1st-edition-smithers-rapra/
https://ebookname.com/product/engineering-economy-16th-ed-
edition-sullivan/
https://ebookname.com/product/warehouse-management-automation-
and-organisation-of-warehouse-and-order-picking-systems-
intralogistik-1st-edition-michael-ten-hompel/
Sebastian Ephemera 01 Anne Bishop
https://ebookname.com/product/sebastian-ephemera-01-anne-bishop/
68077_00_fm_pi-xx.qxd 9/2/11 1:49 PM Page ii
Copyright 2012 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s). Editorial review has
deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
68077_00_fm_pi-xx.qxd 9/2/11 1:49 PM Page i
MATLAB®
Programming
with Applications
for Engineers
Copyright 2012 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s). Editorial review has
deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
68077_00_fm_pi-xx.qxd 9/2/11 1:49 PM Page ii
Copyright 2012 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s). Editorial review has
deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
68077_00_fm_pi-xx.qxd 9/2/11 1:49 PM Page iii
MATLAB®
Programming
with Applications
for Engineers
First Edition
Stephen J. Chapman
BAE Systems Australia
Australia • Brazil • Japan • Korea • Mexico • Singapore • Spain • United Kingdom • United States
Copyright 2012 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s). Editorial review has
deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
68077_00_fm_pi-xx.qxd 9/2/11 1:49 PM Page iv
Copyright 2012 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s). Editorial review has
deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
This is an electronic version of the print textbook. Due to electronic rights restrictions, some third party content may be suppressed. Editorial
review has deemed that any suppressed content does not materially affect the overall learning experience. The publisher reserves the right to
remove content from this title at any time if subsequent rights restrictions require it. For valuable information on pricing, previous
editions, changes to current editions, and alternate formats, please visit www.cengage.com/highered to search by
ISBN#, author, title, or keyword for materials in your areas of interest.
Copyright 2012 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s). Editorial review has
deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
68077_00_fm_pi-xx.qxd 9/2/11 1:49 PM Page v
This book is dedicated with love to my daughter Sarah Rivkah Chapman. As a student at
Swinburne University in Melbourne, she may actually wind up using it!
Copyright 2012 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s). Editorial review has
deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
68077_00_fm_pi-xx.qxd 9/2/11 1:49 PM Page vi
Copyright 2012 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s). Editorial review has
deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
68077_00_fm_pi-xx.qxd 9/2/11 1:49 PM Page vii
Contents
vii
Copyright 2012 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s). Editorial review has
deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
68077_00_fm_pi-xx.qxd 9/2/11 1:49 PM Page viii
viii | Contents
Copyright 2012 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s). Editorial review has
deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
68077_00_fm_pi-xx.qxd 9/2/11 1:49 PM Page ix
Contents | ix
Copyright 2012 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s). Editorial review has
deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
68077_00_fm_pi-xx.qxd 9/2/11 1:49 PM Page x
x | Contents
Copyright 2012 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s). Editorial review has
deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
68077_00_fm_pi-xx.qxd 9/2/11 1:49 PM Page xi
Contents | xi
Copyright 2012 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s). Editorial review has
deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
68077_00_fm_pi-xx.qxd 9/2/11 1:49 PM Page xii
xii | Contents
Copyright 2012 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s). Editorial review has
deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
68077_00_fm_pi-xx.qxd 9/2/11 1:49 PM Page xiii
Contents | xiii
Copyright 2012 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s). Editorial review has
deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
68077_00_fm_pi-xx.qxd 9/2/11 1:49 PM Page xiv
xiv | Contents
Index 555
Copyright 2012 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s). Editorial review has
deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
68077_00_fm_pi-xx.qxd 9/2/11 1:49 PM Page xv
Preface
xv
Copyright 2012 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s). Editorial review has
deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
68077_00_fm_pi-xx.qxd 9/2/11 1:49 PM Page xvi
xvi | Preface
Copyright 2012 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s). Editorial review has
deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
68077_00_fm_pi-xx.qxd 9/2/11 1:49 PM Page xvii
Preface | xvii
Copyright 2012 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s). Editorial review has
deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
68077_00_fm_pi-xx.qxd 9/2/11 1:49 PM Page xviii
xviii | Preface
Copyright 2012 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s). Editorial review has
deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
68077_00_fm_pi-xx.qxd 9/2/11 1:49 PM Page xix
Preface | xix
Programming Pitfalls:
Make sure that your variable names are unique in the first 63 characters. Otherwise,
MATLAB will not be able to tell the difference between them.
Pedagogical Features
This book includes several features designed to aid student comprehension. A
total of 13 quizzes appear scattered throughout the chapters, with answers to all
questions included in Appendix D. These quizzes can serve as a useful self-test of
comprehension. In addition, there are approximately 215 end-of-chapter exercis-
es. Answers to all exercises are included in the Instructor’s Manual. Good pro-
gramming practices are highlighted in all chapters with special Good
Programming Practice boxes, and common errors are highlighted in
Programming Pitfalls boxes. End of chapter materials include Summaries of
Good Programming Practice and Summaries of MATLAB Commands and
Functions.
The book is accompanied by an Instructor’s Manual, containing the solutions
to all end-of-chapter exercises. The IM, PowerPoint slides of all figures and tables
in the book and the source code for all examples in the book is available from the
book’s Web site, and the source code for all solutions in the Instructor’s Manual
is available separately to instructors.
To access additional course materials [including CourseMate], please visit
www.cengagebrain.com. At the cengagebrain.com home page, search for the
ISBN of your title (from the back cover of your book) using the search box at the
top of the page. This will take you to the product page where these resources can
be found.
Copyright 2012 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s). Editorial review has
deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
68077_00_fm_pi-xx.qxd 9/2/11 1:49 PM Page xx
xx | Preface
STEPHEN J. CHAPMAN
Melbourne, Australia
Copyright 2012 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s). Editorial review has
deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
68077_01_ch01_p001-024.qxd 9/2/11 12:46 PM Page 1
C H A P T E R 1
Introduction
to MATLAB
Copyright 2012 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s). Editorial review has
deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
68077_01_ch01_p001-024.qxd 9/2/11 12:46 PM Page 2
This book makes no attempt to introduce the user to all of MATLAB’s func-
tions. Instead, it teaches a user the basics of how to write, debug, and optimize good
MATLAB programs and provides a subset of the most important functions used to
solve common scientific and engineering problems. Just as importantly, it teaches the
scientist or engineer how to use MATLAB’s own tools to locate the right function
for a specific purpose from the enormous amount of choices available. In addition,
it teaches how to use MATLAB to solve many practical engineering problems, such
as vector and matrix algebra, curve fitting, differential equations, and data plotting.
The MATLAB program is a combination of a procedural programming
language, an integrated development environment (IDE) including an editor and
debugger, and an extremely rich set of functions that can perform many types of
technical calculations.
The MATLAB language is a procedural programming language, meaning that
the engineer writes procedures, which are effectively mathematical recipes for
solving a problem. This makes MATLAB very similar to other procedural
languages such as C, Basic, Fortran, and Pascal. However, the extremely rich list
of predefined functions and plotting tools makes it superior to these other
languages for many engineering analysis applications.
Copyright 2012 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s). Editorial review has
deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
Another Random Document on
Scribd Without Any Related Topics
“And,” I broke in sternly, “you, sir, filled the room with a
‘knock out’ of dirty, hungry aliens from Whitechapel; and,
when I grew dangerous, you and your friends did not
scruple to hound me down and kidnap me. That was the
way you put me out of competition and snatched your
beggarly triumph, but you know as well as I do that I am
ignorant of the precise contents or qualities of the
documents which I was employed to make such a strenuous
battle for.”
“But, sir,” he sneered, rolling back his lips and showing his
toothless gums, “think of that beautiful sign outside your
office: ‘Mr Hugh Glynn, Secret Investigator!’ why, nothing
should be hidden from you!” And he threw out his hands
with a gesture of infinite comprehensiveness and burst into
a loud and offensive mocking laugh.
“Yes; but that’s not the worst,” retorted Zouche; “there are
others.”
“Well, first, who was the man that put you on the track of
my discovery, eh? What, for instance, is the name or
position of Mr Glynn’s employer?”
“Do, if you can,” returned the man coolly. “For the present,
stick to the point we are discussing. Who else have we to
fear?”
Never!
Chapter Seven.
In Stanton Street.
“I know the man like nobody else does in the House. Once
we were friends—before appeared the inevitable woman. I
was his one confidant. We occupied the same house; we sat
side by side, night after night, over the dinner-table,
building the same castles in the air; but, as we laid our
plans, and he waxed strong, the power to will and to
achieve in this muddy, political life of England came also to
me. Hence, while we quarrelled and hated like only one-
time bosom companions can, we have ever carried on a
terrific underground fight which has been all the more
deadly because it was hidden. Few expected it; and none of
the fools around me ever realised that a humble,
insignificant member like myself was hugging the idea of
the eventual overthrow of this wonderful strong man, who
had risen up, phoenix-like, from the ashes of a
dismembered and distrusted party in the State and had
brought back to Parliament the misty legend of a leader
who directed the attack by the sheer magic of his own
inherent will.
“You must give that man up, Hugh,” cut in Colonel Napier,
who had not hitherto spoken. “He’s a scoundrel of the first
water. I know all about him. He escaped from that Mexican
monastery at the same time as Father Alphonse
Calasanctius, but not before he killed Earl Fotheringay’s
companion, young Sutton.”
And the odd part of it was that it made itself most painfully
evident this night on which Don José Casteno proffered to
look after me. In vain I heard his own soft and regular
breathing as I crept to the half-open door noiselessly and
listened to his movements. In vain I drew the clothes right
over my head and conjured up sheep jumping over a stile;
pigs elbowing each other through a half-open gate; dogs
passing in endless procession, each with a most plaintive
look of entreaty that I should wear my brain out counting
them for some unseen but remorseless master-calculator—I
could not go to sleep. Even the Brahmin magic word “O—
om,” which I repeated slowly twice a minute, expelling the
air each time most completely from my lungs, failed to
hypnotise me. And then all at once I heard something—a
slow grating sound that seemed to suggest treachery and
mischief.
The dog looked up, wagging his tail. Then all at once he
gave a sharp bark, and swinging round he tore through the
open door down the street as hard as he could pelt. For an
instant I was quite astonished. As a rule the dog would stop
and fuss with me and play several tricks. Now his manner
was so curious that I decided at last he must have expected
I should follow him.
“But that must be a long time yet,” I told myself, with a
sigh. “I can never see Doris now until I have cleared up this
mystery of the manuscripts for Don José.” And, shrugging
my shoulders, I made my way back to the bedroom where,
feeling sleep was out of the question, and that I must try in
real earnest to solve the mystery of the expedition of the
Spaniard, I had a tub, and made a hurried toilet, and then
set to work to get myself some breakfast.
I looked round.
“Some brute has stabbed it,” said one of the boys, who had
been kneeling beside it endeavouring to stop the flow of
blood with his dirty handkerchief. “I did my best for him,
but he was too far gone. He’s almost dead.” But suddenly
the dog seemed to rouse himself—to lift his head—then,
catching sight of Casteno, he gave a low growl and made a
movement as if he would snap at his legs.
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.
ebookname.com