COVID-19 Update: We are currently shipping orders daily. However, due to transit disruptions in some geographies, deliveries may be delayed. To provide all customers with timely access to content, we are offering 50% off Science and Technology Print & eBook bundle options. Terms & conditions.
Essential MATLAB for Engineers and Scientists - 3rd Edition - ISBN: 9780080471501

Essential MATLAB for Engineers and Scientists

3rd Edition

Authors: Brian Hahn Daniel Valentine
eBook ISBN: 9780080471501
Imprint: Newnes
Published Date: 29th January 2007
Page Count: 448
Sales tax will be calculated at check-out Price includes VAT/GST
Price includes VAT/GST

Institutional Subscription

Secure Checkout

Personal information is secured with SSL technology.

Free Shipping

Free global shipping
No minimum order.


Essential MATLAB for Engineers and Scientists, Third Edition, is an essential guide to MATLAB as a problem-solving tool. It presents MATLAB both as a mathematical tool and a programming language, giving a concise and easy-to-master introduction to its potential and power.

Stressing the importance of a structured approach to problem solving, the text provides a step-by-step method for program design and algorithm development. It includes numerous simple exercises for hands-on learning, a chapter on algorithm development and program design, and a concise introduction to useful topics for solving problems in later engineering and science courses: vectors as arrays, arrays of characters, GUIs, advanced graphics, and simulation and numerical methods.

The text is ideal for undergraduates in engineering and science taking a course on Matlab.

Key Features

  • Numerous simple exercises give hands-on learning
  • A chapter on algorithm development and program design
  • Common errors and pitfalls highlighted
  • Concise introduction to useful topics for solving problems in later engineering and science courses: vectors as arrays, arrays of characters, GUIs, advanced graphics, simulation and numerical methods
  • A new chapter on dynamical systems shows how a structured approach is used to solve more complex problems.
  • Text and graphics in four colour


Undergraduates in engineering and science taking a course on Matlab

Table of Contents

Preface to the 3rd edition


  1. Introduction

  2. 1 Using MATLAB

  3. 2 The MATLAB desktop

  4. 3 Sample program

  5. MATLAB Fundamentals

  6. 1 Variables and the workspace

  7. 2 Arrays: vectors and matrices

  8. 3 Vertical motion under gravity

  9. 4 Operators, expressions and statements

  10. 5 Output

  11. 6 Repeating with for

  12. 7 Decisions

  13. 8 Complex numbers

  14. 9 More on input and output

  15. 10 Odds 'n ends

  16. 11 Programming style

  17. Program Design and Algorithm Development

  18. 1 Computer program design process

  19. 2 Other examples of structure plans

  20. 3 Structured programming with functions

  21. MATLAB Functions & Data

  22. 1 Some common functions

  23. 2 Importing and exporting data

  24. Logical Vectors

  25. 1 Examples

  26. 2 Logical operators

  27. 3 Subscripting with logical vectors

  28. 4 Logical functions

  29. 5 Logical vectors instead of elseif ladders

  30. Matrices of Numbers & Arrays of Strings

  31. 1 Matrices

  32. 2 Matrix operations

  33. 3 Other matrix functions

  34. 4 Strings

  35. 5 Two-dimensional strings

  36. 6 eval and text macros

  37. Introduction to Graphics

  38. 1 Basic 2-D graphs

  39. 2 3-D plots

  40. Loops

  41. 1 Determinate repetition with for

  42. 2 Indeterminate repetition with while

  43. Errors and Pitfalls

  44. 1 Syntax errors

  45. 2 Pitfalls and Surprises

  46. 3 Errors in logic

  47. 4 Rounding error

  48. 5 Trapping and generating errors

  49. Function M-Files

  50. 1 Some examples

  51. 2 Basic rules

  52. 3 Function handles

  53. 4 Command/function duality

  54. 5 Function name resolution

  55. 6 Debugging M-files

  56. 7 Recursion

  57. Vectors as Arrays & *Advanced Data Structures

  58. 1 Update processes

  59. 2 Frequencies, bar charts and histograms

  60. 3 *Sorting

  61. 4 *Structures

  62. 5 *Cell arrays

  63. 6 *Classes and objects

  64. More Graphics

  65. 1 Handle Graphics

  66. 2 Editing plots

  67. 3 Animation

  68. 4 Colour etc

  69. 5 Lighting and camera

  70. 6 Saving, printing and exporting graphs

  71. Graphical User Interfaces (GUIs)

  72. 1 Basic structure of a GUI

  73. 2 A first example: getting the time

  74. 3 Newton again

  75. 4 Axes on a GUI

  76. 5 Adding colour to a button


  1. Dynamical Systems

  2. 1 Cantilever beam

  3. 2 Electric current

  4. 3 Free fall

  5. 4 Projectile with friction

  6. Simulation

  7. 1 Random number generation

  8. 2 Spinning coins

  9. 3 Rollig dice

  10. 4 Bacteria division

  11. 5 A random walk

  12. 6 Traffic flow

  13. 7 Normal (Gaussian) random numbers

  14. More Matrices

  15. 1 Leslie matrices: population growth

  16. 2 Markov processes

  17. 3 Linear equations

  18. 4 Sparse matrices

  19. Introduction to Numerical Methods

  20. 1 Equations

  21. 2 Integration

  22. 3 Numerical differentiation

  23. 4 First-order differential equations

  24. 5 Linear ordinary differential equations (LODEs)

  25. 6 Runge-Kutta methods

  26. 7 A partial differential equation

  27. 8 Other numerical methods

Appendix A: Syntax quick reference Expressions Function M-Files Graphics if and switch for and while Input/output load/save Vectors and matrices

Appendix B: Operators

Appendix C: Command and functionquick reference General purpose commands Logical functions Language constructs and debugging Matrices and matrix manipulation Mathematical functions Matrix functions Data Analysis Polynomial functions Function functions Sparse matrix functions Character string functions File I/O functions Graphics

Appendix D: ASCII Character Codes

Appendix E: Solutions to Selected Exercises


No. of pages:
© Newnes 2007
29th January 2007
eBook ISBN:

About the Authors

Brian Hahn

Brian Hahn was a professor in the Department of Mathematics and Applied Mathematics at the University of Cape Town. In his career, Brian wrote more than 10 books for teaching programming languages to beginners.

Affiliations and Expertise

Department of Mathematics and Applied Mathematics, University of Cape Town, South Africa

Daniel Valentine

Daniel T. Valentine is Professor Emeritus and was Professor and Chair of the Department of Mechanical and Aeronautical Engineering, Clarkson University, Potsdam, New York. He was also Affiliate Director of the Clarkson Space Grant Program of the New York NASA Space Grant Consortium, a program that provided support for undergraduate and graduate research. His Ph.D. degree is in fluid Mechanics from the Catholic University of America. His BS and MS degrees in mechanical engineering are from Rutgers University.

Affiliations and Expertise

Dept of Mechanical and Aeronautical Engineering, Clarkson University, Potsdam, NY, USA


"This has proved an excellent book for engineering undergraduate students to support their first studies in Matlab. Most of the basics are covered well, and it includes a useful introduction to the development of a Graphical User Interface." - Mr. Kenneth Rotter, Course Director, BSc Computer Aided Engineering, London South Bank University " a very useful book to function as a further level of instructions for scientific and engineering Matlab users. It is full of practical examples with explanations, and they are easy to understand. The topics cover many typical numerical and graphic handling techniques for better mastering the Matlab package." - Dr. William Wang, Senior Lecturer in Engineering, University of Sussex

Ratings and Reviews