MATLAB Programming for Engineers / Edition 4

Paperback (Print)
Rent from
(Save 75%)
Est. Return Date: 08/01/2015
Buy Used
Buy Used from
(Save 39%)
Item is in good condition but packaging may have signs of shelf wear/aging or torn packaging.
Condition: Used – Good details
Used and New from Other Sellers
Used and New from Other Sellers
from $50.15
Usually ships in 1-2 business days
(Save 70%)
Other sellers (Paperback)
  • All (14) from $50.15   
  • New (5) from $137.05   
  • Used (9) from $50.15   


The first text of its kind, Stephen Chapman's best selling book on MATLAB has now been updated to reflect MATLAB 6.0. The first edition has been highly successful in enginering schools where introductory programming is taught using MATLAB rather than a traditional programming language. Although C, C++, and Java suit the needs of computer science students well, most engineering students will not be programmers by trade. Engineering students use computer tools to perform complex tasks such as scientific calculations, data analysis, simulations, and visualization: all skills students will use again in upper level classes. MATLAB provides several built in toolkits to help students accomplish these tasks, as well as an integrated devlopment environment.This book is distinctly unique from other MATLAB books in two ways. First, it is an introduction to MATLAB as a technical programming language rather than an introduction to the MATLAB environment. The author includes numerous pedagogical tools such as special boxes that highlight good programming practices, boxes that detail common pitfalls in MATLAB programming, and numerous programming exercises and examples. The book also makes wide use of MATLAB's predefined functions that provide tested solutions and time saved in writing subroutines or functions. Second, the book teaches students how to write clean, efficient, and documented programs using sound problem solving techniques. Top-down programming methodology is introduced to the students in Ch. 3 and is used consistently thoughout the rest of the book. This encourages students to think about the proper design of a program before beginning to code.
Read More Show Less

Editorial Reviews

An introduction to MATLAB as a technical programing language, providing examples of good programming practices, boxed inserts on common pitfalls, and numerous practice programming exercises. Features emphasis on top-down design methodology, functions, MATLAB tools, and good programming practice. Includes a unique chapter on building graphical user interfaces using MATLAB, plus quizes and answers. For freshman engineering students. The author is affiliated with British Aerospace Australia. Annotation c. Book News, Inc., Portland, OR (
From the Publisher

"The big challenge in teaching this course is that once students get beyond the basics of the programming syntax, they have difficulty in approaching and solving more difficult problems. The author does a good job of both explaining and showing how to do just that."

"I am currently using this textbook, because of its simplistic and easy to digest nature for students to understand."

"I especially like the emphasis on top-down program design and the use of functions to decompose problem into sub-problems."

Read More Show Less

Product Details

  • ISBN-13: 9780495244493
  • Publisher: CL Engineering
  • Publication date: 11/8/2007
  • Edition description: Internatio
  • Edition number: 4
  • Pages: 567
  • Sales rank: 469,760
  • Product dimensions: 7.40 (w) x 9.10 (h) x 1.40 (d)

Meet the Author

Stephen J. Chapman received a BS in Electrical Engineering from Louisiana State University (1975), an MSE in Electrical Engineering from the University of Central Florida (1979), and pursued further graduate studies at Rice University. From 1975 to 1980, he served as an officer in the U. S. Navy, assigned to teach Electrical Engineering at the U. S. Naval Nuclear Power School in Orlando, Florida. From 1980 to 1982, he was affiliated with the University of Houston, where he ran the power systems program in the College of Technology. From 1982 to 1988 and from 1991 to 1995, he served as a Member of the Technical Staff of the Massachusetts Institute of Technology's Lincoln Laboratory, both at the main facility in Lexington, Massachusetts, and at the field site on Kwajalein Atoll in the Republic of the Marshall Islands. While there, he did research in radar signal processing systems. He ultimately became the leader of four large operational range instrumentation radars at the Kwajalein field site (TRADEX, ALTAIR, ALCOR, and MMW). From 1988 to 1991, Chapman was a research engineer at Shell Development Company in Houston, Texas, where he did seismic signal processing research. He was also affiliated with the University of Houston, where he continued to teach on a part-time basis. Mr. Chapman is currently Manager of Systems Modeling and Operational Analysis for BAE Systems Australia, in Melbourne, Australia. He is the leader of a team that has developed a model of how naval ships defend themselves. This model contains more than 400,000 lines of MATLAB code written over more than a decade. Mr. Chapman is a Senior Member of the Institute of Electrical and Electronic Engineers (and several of its component societies). He is also a member of the Association for Computing Machinery and the Institution of Engineers (Australia).
Read More Show Less

Table of Contents

1 Introduction to Matlab 1
1.1 The Advantages of Matlab 1
1.2 Disadvantages of Matlab 3
1.3 The Matlab Environment 3
1.4 Using Matlab as a Srcratchpad 16
1.5 Summary 18
1.6 Exercises 19
2 Matlab Basics 21
2.1 Variables and Arrays 21
2.2 Initializing Variables in Matlab 24
2.3 Multidimensional Arrays 31
2.4 Subarrays 34
2.5 Special Values 37
2.6 Displaying Output Data 39
2.7 Data Files 42
2.8 Scalar and Array Operations 44
2.9 Hierarchy of Operations 48
2.10 Built-in Matlab Functions 51
2.11 Introduction to Plotting 52
2.12 Examples 59
2.13 Debugging Matlab Programs 67
2.14 Summary 69
2.15 Exercises 73
3 Branching Statements and Program Design 81
3.1 Introduction to Top-Down Design Techniques 81
3.2 Use of Pseudocode 86
3.3 Relational and Logical Operators 87
3.4 Branches 94
3.5 Additional Plotting Features 108
3.6 More on Debugging Matlab Programs 125
3.7 Summary 128
3.8 Exercises 130
4 Loops 137
4.1 The while Loop 137
4.2 The for Loop 143
4.3 Logical Arrays and Vectorization 157
4.4 Additional Examples 163
4.5 Summary 178
4.6 Exercises 179
5 User-Defined Functions 187
5.1 Introduction to Matlab Functions 189
5.2 Variable Passing in Matlab: The Pass-By-Value Scheme 194
5.3 Optional Arguments 204
5.4 Sharing Data Using Global Memory 209
5.5 Preserving Data Between Calls to a Function 217
5.6 Function Functions 222
5.7 Subfunctions and Private Functions 225
5.8 Summary 227
5.9 Exercises 229
6 Complex Data, Character Data, and Additional Plot Types 241
6.1 Complex Data 241
6.2 String Functions 252
6.3 Multidimensional Arrays 266
6.4 Additional Two-Dimensional Plots 268
6.5 Three-Dimensional Plots 276
6.6 Summary 281
6.7 Exercises 283
7 Sparse Arrays, Cell Arrays, and Structures 287
7.1 Sparse Arrays 287
7.2 Cell Arrays 294
7.3 Structure Arrays 306
7.4 Summary 314
7.5 Exercises 316
8 Input/Output Functions 319
8.1 The textread Function 319
8.2 More about the load and save Commands 321
8.3 An Introduction to Matlab File Processing 323
8.4 File Opening and Closing 325
8.5 Binary I/O Functions 328
8.6 Formatted I/O Functions 332
8.7 Comparing Formatted and Binary I/O Functions 342
8.8 File Positioning and Status Functions 347
8.9 Function uiimport 356
8.10 Summary 358
8.11 Exercises 360
9 Handle Graphics 363
9.1 The Matlab Graphics System 363
9.2 Object Handles 365
9.3 Examining and Changing Object Properties 365
9.4 Using set to List Possible Property Values 372
9.5 User-Defined Date 374
9.6 Finding Objects 375
9.7 Selecting Objects with the Mouse 377
9.8 Position and Units 380
9.9 Printer Positions 384
9.10 Default and Factory Properties 385
9.11 Graphics Object Properties 387
9.12 Summary 387
9.13 Exercises 387
10 Graphical User Interfaces 391
10.1 How a Graphical User Interface Works 391
10.2 Creating and Displaying a Graphical User Interface 392
10.3 Object Properties 406
10.4 Graphical User Interface Components 407
10.5 Dialog Boxes 422
10.6 Menus 425
10.7 Tips for Creating Efficient GUIs 436
10.8 Summary 443
10.9 Exercises 446
Appendix A ASCII Character Set 449
Appendix B Answers to Quizzes 451
Index 465
Read More Show Less

Customer Reviews

Average Rating 5
( 1 )
Rating Distribution

5 Star


4 Star


3 Star


2 Star


1 Star


Your Rating:

Your Name: Create a Pen Name or

Barnes & Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation


  • - By submitting a review, you grant to Barnes & and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Terms of Use.
  • - Barnes & reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously
Sort by: Showing 1 Customer Reviews
  • Anonymous

    Posted September 15, 2012

    No text was provided for this review.

Sort by: Showing 1 Customer Reviews

If you find inappropriate content, please report it to Barnes & Noble
Why is this product inappropriate?
Comments (optional)