An Introduction to Programming
and Numerical Methods in MATLAB
S.R. Otto and J.P. Denier
An Introduction to
With 111 Figures
S.R. Otto, BSc, PhD
The R & A
J.P. Denier, BSc (Hons), PhD
School of Mathematical Sciences
The University of Adelaide
South Australia 5005
British Library Cataloguing in Publication Data
Otto, S. R. (Stephen Robert)
An introduction to programming and numerical methods in
1. MATLAB (Computer file)
2. Numerical analysis — Data
II. Denier, J. P.
Library of Congress Control Number: 2005923332
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 repro-
duced, 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 of licences
issued by the Copyright Licensing Agency. Enquiries concerning reproduction outside those terms
should be sent to the publishers.
Springer Science+Business Media
© Springer-Verlag London Limited 2005
The use of registered names, trademarks, etc. in this publication does not imply, even in the absence
of a specific statement, that such names are exempt from the relevant laws and regulations and there-
fore free for general use.
The publisher makes no representation, express or implied, with regard to the accuracy of the informa-
tion contained in this book and cannot accept any legal responsibility or liability for any errors or
omissions that may be made.
Typesetting: Camera-ready by authors
Printed in the United States of America
12/3830-543210 Printed on acid-free paper SPIN 11317333
Jill and Megan.
This text provides an introduction to the numerical methods that are typically